From 3bd3d4272de457ae5a1967edcd4dbbded6ffd51a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrea=20S=C3=A1nchez-Tapia?= <4183062+AndreaSanchezTapia@users.noreply.github.com> Date: Thu, 21 Dec 2023 14:53:43 -0800 Subject: [PATCH 1/2] add pkgdown site as in #108 --- DESCRIPTION | 4 +- R/utils.R | 2 +- docs/404.html | 97 +++--- docs/CodeOfConduct.html | 85 ++--- docs/Contributing.html | 85 ++--- docs/LICENSE-text.html | 82 +++-- docs/LICENSE.html | 102 +++--- docs/authors.html | 108 +++--- docs/bootstrap-toc.css | 60 ++++ docs/bootstrap-toc.js | 159 +++++++++ docs/docsearch.css | 148 +++++++++ docs/docsearch.js | 85 +++++ docs/index.html | 304 +++++++++-------- docs/news/index.html | 87 ++--- docs/pkgdown.css | 384 ++++++++++++++++++++++ docs/pkgdown.js | 172 ++++------ docs/pkgdown.yml | 4 +- docs/reference/get_endpoint.html | 96 +++--- docs/reference/get_event.html | 100 +++--- docs/reference/get_identity_endpoint.html | 96 +++--- docs/reference/get_raster.html | 116 ++++--- docs/reference/get_region_id.html | 100 +++--- docs/reference/get_vessel_info.html | 100 +++--- docs/reference/gfw_api_request.html | 83 +++++ docs/reference/gfw_auth.html | 91 ++--- docs/reference/gfwr-package.html | 100 +++--- docs/reference/gist_error_body.html | 93 +++--- docs/reference/index.html | 162 +++++---- docs/reference/make_char.html | 91 ++--- docs/reference/make_datetime.html | 91 ++--- docs/reference/pipe.html | 100 +++--- docs/reference/sf_to_geojson.html | 97 ++++++ docs/sitemap.xml | 6 + man/gfwr-package.Rd | 3 +- man/sf_to_geojson.Rd | 2 +- 35 files changed, 2326 insertions(+), 1169 deletions(-) create mode 100644 docs/bootstrap-toc.css create mode 100644 docs/bootstrap-toc.js create mode 100644 docs/docsearch.css create mode 100644 docs/docsearch.js create mode 100644 docs/pkgdown.css create mode 100644 docs/reference/gfw_api_request.html create mode 100644 docs/reference/sf_to_geojson.html diff --git a/DESCRIPTION b/DESCRIPTION index c01de9d..22370fc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -8,8 +8,10 @@ Authors@R: c( role = c("aut"), comment = c(ORCID = "0000-0003-0319-4210")), person("Nate", "Miller", , "nate@globalfishingwatch.org", + role = c("aut")), + person("Andrea", "Sánchez-Tapia", , "andrea.sanchez-tapia@globalfishingwatch.org", role = c("aut"), - comment = c(ORCID = "YOUR-ORCID-ID")) + comment = c(ORCID = "0000-0002-3521-4338")) ) Description: This package connects to several Global Fishing Watch APIs to get vessel and events information in an R-friendly format. License: file LICENSE diff --git a/R/utils.R b/R/utils.R index d2299f2..cbde1a0 100644 --- a/R/utils.R +++ b/R/utils.R @@ -181,7 +181,7 @@ get_region_id <- function(region_name, region_source = 'eez', key) { #' Formats an sf shapefile to a formatted geojson #' #' @param sf_shape The sf shapefile to transform -#' @returns A correctly-formatted geojason to be used in `get_raster()` +#' @returns A correctly-formatted geojson to be used in `get_raster()` #' @importFrom geojsonsf sf_geojson #' @export diff --git a/docs/404.html b/docs/404.html index dddbee2..2c8cf80 100644 --- a/docs/404.html +++ b/docs/404.html @@ -4,86 +4,99 @@ - +