diff --git a/DESCRIPTION b/DESCRIPTION index 33dfd6a..313ef6a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: eppoFindeR Type: Package -Title: R interface to the EPPO Database and Public APIs +Title: R Interface to the EPPO Database and Public APIs Version: 2.0.0 Maintainer: Luca Belmonte Authors@R: @@ -31,10 +31,10 @@ Description: The eppoFindeR package provides an interface to the public APIs services and datasets. The package also includes utilities for data wrangling, including the integration of taxonomy with rank information. License: file LICENSE -URL: https://openefsa.github.io/eppoFindeR +URL: https://openefsa.github.io/eppoFindeR/ BugReports: https://github.com/openefsa/eppoFindeR/issues Depends: - R (>= 4.0.0) + R (>= 4.1.0) Imports: cli (>= 3.6.5), httr2 (>= 1.2.1), diff --git a/R/reportingService.R b/R/reportingService.R index 986a7ca..21830be 100644 --- a/R/reportingService.R +++ b/R/reportingService.R @@ -13,7 +13,7 @@ #' #' @param params `list`. A named list of query parameters to include in the #' request. The list of available parameters can be accessed via the -#' [EPPO API Documentation](https://data2025.eppo.int/ui/#/docs/GDAPI) +#' [EPPO API Documentation](https://data.eppo.int/ui/#/docs/GDAPI) #' platform. #' #' By default: no parameters, you need to specify the required ones. diff --git a/R/taxons.R b/R/taxons.R index 75de8ed..8559e05 100644 --- a/R/taxons.R +++ b/R/taxons.R @@ -12,7 +12,7 @@ #' #' @param params `list` (optional). A named list of query parameters to include #' in the request. The list of available parameters can be accessed via the -#' [EPPO API Documentation](https://data2025.eppo.int/ui/#/docs/GDAPI) +#' [EPPO API Documentation](https://data.eppo.int/ui/#/docs/GDAPI) #' platform. #' #' By default: default parameters. diff --git a/R/tools.R b/R/tools.R index a8b0b48..d15802c 100644 --- a/R/tools.R +++ b/R/tools.R @@ -12,7 +12,7 @@ #' #' @param params `list`. A named list of query parameters to include in the #' request. The list of available parameters can be accessed via the -#' [EPPO API Documentation](https://data2025.eppo.int/ui/#/docs/GDAPI) +#' [EPPO API Documentation](https://data.eppo.int/ui/#/docs/GDAPI) #' platform. #' #' By default: no parameters, you need to specify the required ones. diff --git a/README.md b/README.md index 276afb1..688312e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# eppoFindeR +# eppoFindeR [![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable) [![codecov](https://codecov.io/gh/openefsa/eppoFindeR/branch/main/graph/badge.svg?token=TR7ETTDG2Z)](https://codecov.io/gh/openefsa/eppoFindeR) diff --git a/man/eppoFindeR-package.Rd b/man/eppoFindeR-package.Rd index 482f3b8..f6d1dbe 100644 --- a/man/eppoFindeR-package.Rd +++ b/man/eppoFindeR-package.Rd @@ -4,7 +4,7 @@ \name{eppoFindeR-package} \alias{eppoFindeR} \alias{eppoFindeR-package} -\title{eppoFindeR: R interface to the EPPO Database and Public APIs} +\title{eppoFindeR: R Interface to the EPPO Database and Public APIs} \description{ \if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}} @@ -13,7 +13,7 @@ The eppoFindeR package provides an interface to the public APIs of the European \seealso{ Useful links: \itemize{ - \item \url{https://openefsa.github.io/eppoFindeR} + \item \url{https://openefsa.github.io/eppoFindeR/} \item Report bugs at \url{https://github.com/openefsa/eppoFindeR/issues} } diff --git a/man/reportingService.Rd b/man/reportingService.Rd index a43bf86..5a13cf0 100644 --- a/man/reportingService.Rd +++ b/man/reportingService.Rd @@ -20,7 +20,7 @@ By default: all services.} \item{params}{\code{list}. A named list of query parameters to include in the request. The list of available parameters can be accessed via the -\href{https://data2025.eppo.int/ui/#/docs/GDAPI}{EPPO API Documentation} +\href{https://data.eppo.int/ui/#/docs/GDAPI}{EPPO API Documentation} platform. By default: no parameters, you need to specify the required ones.} diff --git a/man/taxons.Rd b/man/taxons.Rd index a07df8d..1815754 100644 --- a/man/taxons.Rd +++ b/man/taxons.Rd @@ -20,7 +20,7 @@ By default: all services.} \item{params}{\code{list} (optional). A named list of query parameters to include in the request. The list of available parameters can be accessed via the -\href{https://data2025.eppo.int/ui/#/docs/GDAPI}{EPPO API Documentation} +\href{https://data.eppo.int/ui/#/docs/GDAPI}{EPPO API Documentation} platform. By default: default parameters.} diff --git a/man/tools.Rd b/man/tools.Rd index 95ef626..682be32 100644 --- a/man/tools.Rd +++ b/man/tools.Rd @@ -19,7 +19,7 @@ By default: all services.} \item{params}{\code{list}. A named list of query parameters to include in the request. The list of available parameters can be accessed via the -\href{https://data2025.eppo.int/ui/#/docs/GDAPI}{EPPO API Documentation} +\href{https://data.eppo.int/ui/#/docs/GDAPI}{EPPO API Documentation} platform. By default: no parameters, you need to specify the required ones.} diff --git a/vignettes/eppoFindeR.Rmd b/vignettes/eppoFindeR.Rmd index b4fce47..c01e799 100644 --- a/vignettes/eppoFindeR.Rmd +++ b/vignettes/eppoFindeR.Rmd @@ -99,9 +99,9 @@ help("taxon") ## Querying a specific category -The *eppoFindeR* package allows you to query all categories available in version 2.0 of the EPPO APIs: General, Taxons, Taxon, Country, Tools, Reporting Services, and References. +The *eppoFindeR* package allows you to query all categories available in version 2.0 of the EPPO APIs: General, Taxons, Taxon, Country, RPPO, Tools, Reporting Service, and References. -Each category has a corresponding function in the package with the same name in *lowerCamelCase* format: general(), taxons(), taxon(), country(), tools(), reportingService(), and reportings(). By default, these functions return all data available under the selected category, but you can customize the query by specifying the desired services. +Each category has a corresponding function in the package with the same name in *lowerCamelCase* format: general(), taxons(), taxon(), country(), rppo(), tools(), reportingService(), and references(). By default, these functions return all data available under the selected category, but you can customize the query by specifying the desired services. For example, to query all services of the Taxon category for the EPPO code "BEMITA", you can use the following code: