| Type: | Package | 
| Title: | Find 'CRAN' Package by Topic | 
| Version: | 0.2.0 | 
| URL: | <https://CRAN.R-project.org/package=findPackage> | 
| Description: | Finds 'CRAN' packages by the topic requested. The topic can be given as a character string or as a regular expression and will help users to locate 'CRAN' packages matching their specified requirement. findPackage(<string>) returns a data frame of packages with description containing the input string. | 
| License: | GPL-3 | 
| Encoding: | UTF-8 | 
| RoxygenNote: | 7.1.2 | 
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0) | 
| VignetteBuilder: | knitr | 
| Config/testthat/edition: | 3 | 
| NeedsCompilation: | no | 
| Packaged: | 2023-01-26 12:13:58 UTC; amarnath | 
| Author: | Amarnath Bose | 
| Maintainer: | Amarnath Bose <amarnath.bose@gmail.com> | 
| Repository: | CRAN | 
| Date/Publication: | 2023-01-26 18:50:12 UTC | 
Find 'CRAN' Package by topic
Description
Finds CRAN packages by the topic requested. The topic can be given as a character string or as a regular expression, and will help users to locate packages matching their specified requirement.
Usage
findPackage(
  topicString = "",
  fromDate = "2008-09-01",
  toDate = Sys.Date(),
  sortOrder = "A"
)
Arguments
| topicString | The topic as a character string or as a regular expression | 
| fromDate | Format: YYYY-MM-DD. The search in CRAN will be restricted to packages published on or after this date, default is from the earliest available date, i.e. September 2008 | 
| toDate | Format: YYYY-MM-DD. The search in CRAN will be restricted to packages published on or before this date, default is till the current date | 
| sortOrder | The matching data is sorted by default (A) with the earlier published packages preceding the later ones. For descending sort, more recent earlier, use "D" | 
Value
A data frame with the package name, the date of publication, title of the package and its description
Examples
ahp <- findPackage("(Analytic Hierarchy Process)|(AHP)");
AHP_or_DEA <- 
findPackage(
"(Analytic Hierarchy Process)|(AHP)|(Data Envelopment Analysis)|(DEA)");
fa <- findPackage("Factor Analysis")