From d0c1fbfd486fddbdb653f202fd76e2a751c8b5ec Mon Sep 17 00:00:00 2001 From: Robert Baker Date: Fri, 2 Jan 2026 09:35:16 -0700 Subject: [PATCH 1/4] DataStore API now uses v8 endpoints. --- R/utils.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/utils.R b/R/utils.R index 9db62d9..15c7f78 100644 --- a/R/utils.R +++ b/R/utils.R @@ -4,13 +4,13 @@ .pkgglobalenv <- new.env(parent=emptyenv()) #data_store API base URL: -assign("ds_api", "https://irmaservices.nps.gov/datastore/v7/rest/", envir=.pkgglobalenv) +assign("ds_api", "https://irmaservices.nps.gov/datastore/v8/rest/", envir=.pkgglobalenv) #data_store secure API base URL: -assign("ds_secure_api", "https://irmaservices.nps.gov/datastore-secure/v7/rest/", envir=.pkgglobalenv) +assign("ds_secure_api", "https://irmaservices.nps.gov/datastore-secure/v8/rest/", envir=.pkgglobalenv) #data_store dev api (requires secure) -assign("ds_dev_api", "https://irmadevservices.nps.gov/datastore-secure/v7/rest/", envir = .pkgglobalenv) +assign("ds_dev_api", "https://irmadevservices.nps.gov/datastore-secure/v8/rest/", envir = .pkgglobalenv) .ds_api <- function(x){ get("ds_api", envir = .pkgglobalenv) From 2a4aec8b75faf210f8be37ed46a84de0c9cd12e5 Mon Sep 17 00:00:00 2001 From: Robert Baker Date: Fri, 2 Jan 2026 09:37:41 -0700 Subject: [PATCH 2/4] Add info about updating; fix formatting throughout NEWS.md --- NEWS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS.md b/NEWS.md index 5b43105..901c3aa 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,7 @@ # NPSutils 1.1.0 +## 2026-01-02 + * DataStore API calls now use v8 endpoints (v7 was deprecated with DataStore 4.0 release) + ## 2025-09-15 * Update Unit service API to use current version (instead of discontinued legacy endpoint) ## 2025-05-16 From a441058404418aae285b56abfd0de63b446adc22 Mon Sep 17 00:00:00 2001 From: Robert Baker Date: Fri, 2 Jan 2026 09:40:18 -0700 Subject: [PATCH 3/4] update formatting --- NEWS.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/NEWS.md b/NEWS.md index 901c3aa..cc8064b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,8 +4,10 @@ ## 2025-09-15 * Update Unit service API to use current version (instead of discontinued legacy endpoint) + ## 2025-05-16 * Add a vignette going over basic functions and how to use NPSutils + ## 2025-05-08 * add unit tests for all functions. Add packages necessary for unit tests to Suggests in DESCRIPTION file. @@ -14,6 +16,7 @@ ## 2025-03-12 * Update to MIT license + ## 2025-02-25 * Update `CONTRIBUTING.md` * Update readme to remove mention of "borked" functions @@ -24,6 +27,7 @@ # NPSutils 1.0.0 ## 2025-01-22 * Update license to CC0. + ## 2025-01-19 * remove `get_data_packages_deprecated()` is a breaking change resulting in release of v.1.0.0. * update documentation for `get_unit_code()`, `get_park_code()`, and `get_unit_code_info()` @@ -31,11 +35,14 @@ ## 2024-12-19 * remove `validate_data_package()` as this function was listed as "still under construction" is mostly obsolete given other functions and functions in the DPchecker package. * remove `load_domains()` as this function was not working properly and was conceived of before the data package specifications were properly set. + ## 2024-12-19 * updated `load_pkg_metadata` to be simpler and essentially call `DPchecker::load_metadata` but with a preset default directory structure that works well with the default settings for `get_data_package`. * Add meta-analysis functions for finding and producing summary statistics multiple data packages including `get_ref_list`, `get_refs_info()`, and `summarize_packages`. + ## 2024-10-24 * fix how `get_data_package` aliases `get_data_packages`, specifically now allows users to adjust parameters to non-default settings. + ## 2024-10-21 * Bug fixes to `load_data_package()` * Bug fixes to `.get_authors()` @@ -58,7 +65,6 @@ * added `load_EML_df()`, which retrieves commonly available metadata items from an EML-formatted R object and returns them as a single dataframe (for loading into Power BI) # NPSutils 0.3.0 - * updated all datastore api requests from v4/v5 to v6 (units service remains at v2) * add global variables for base datastore api urls and helper functions to access them in utils.R * added new functionality to `get_data_packages()`: it will now check to see if a DataStore reference ID is invalid or not. It will also check whether the reference is a data package or not. Substantial feedback is reported to the user if the flag force is set to FALSE. @@ -79,7 +85,6 @@ * added `map_wkt()` function to map points, polygons, or both from Well Known Text coordinates (WKT). WKT is used in place to GPS coordinates when sensitive species locations have been "fuzzed". In this case, providing a polygon rather than the an exact (albeit fuzzed) is preferable as it is clear that the location is not exact. WKT is an efficient way to store geographic shapes such as polygons in flat files such as .csv. # NPSutils 0.2.0.1 - * updated get_data_package to retrieve 1 or more files from a given reference, if for instance a data package has multiple files associated with it. get_data_package is file extension agnostic. * get_data_package can now take a list of reference IDs from data store. It will write a separate folder for each reference (within a /data folder) and put the data files in the relevant folder. * get_data_package can now specify the directory that the /data folder and all child data package folders and data files are saved to. Defaults to the working directory. @@ -88,13 +93,10 @@ * get_data_package informs the user if a download failed due to not specifying secure=TRUE. # NPSutils 0.2.0.0 - Facelift to the entire package: - * Functions and parameters have snake_case names * Tidyverse styling via styler * Added bare-bones pkgdown site # NPSutils 0.1.0.0 - * Added a `NEWS.md` file to track changes to the package. From 3b9be5fdff2374704a76640ea7649cbe62faa5e5 Mon Sep 17 00:00:00 2001 From: Robert Baker Date: Fri, 2 Jan 2026 09:40:32 -0700 Subject: [PATCH 4/4] update via pkgdown::build_site_github_pages --- docs/authors.html | 4 +-- docs/news/index.html | 62 ++++++++++++++++++++++++++++++-------------- docs/pkgdown.yml | 4 +-- 3 files changed, 46 insertions(+), 24 deletions(-) diff --git a/docs/authors.html b/docs/authors.html index 1314330..188f933 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -57,14 +57,14 @@

Authors

Citation

Source: DESCRIPTION

-

Baker R, DeVivo J, Patterson J, Wright SE (2025). +

Baker R, DeVivo J, Patterson J, Wright SE (2026). NPSutils: Collection of Functions to read and manipulate information from the NPS DataStore. R package version 1.1.0, https://nationalparkservice.github.io/NPSutils/.

@Manual{,
   title = {NPSutils: Collection of Functions to read and manipulate information from the NPS DataStore},
   author = {Robert Baker and Joe DeVivo and Judd Patterson and Sarah E. Wright},
-  year = {2025},
+  year = {2026},
   note = {R package version 1.1.0},
   url = {https://nationalparkservice.github.io/NPSutils/},
 }
diff --git a/docs/news/index.html b/docs/news/index.html index 6401ee4..e3b9651 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -36,24 +36,37 @@

Changelog

NPSutils 1.1.0

+

2026-01-02

+
  • DataStore API calls now use v8 endpoints (v7 was deprecated with DataStore 4.0 release)
  • +
+

2025-09-15

-
  • Update Unit service API to use current version (instead of discontinued legacy endpoint) ## 2025-05-16
  • -
  • Add a vignette going over basic functions and how to use NPSutils ## 2025-05-08
  • -
  • add unit tests for all functions. Add packages necessary for unit tests to Suggests in DESCRIPTION file.
  • +
    • Update Unit service API to use current version (instead of discontinued legacy endpoint)
-

2025-03-25

+

2025-05-16

+
  • Add a vignette going over basic functions and how to use NPSutils
  • +
+
+

2025-05-08

+
  • add unit tests for all functions. Add packages necessary for unit tests to Suggests in DESCRIPTION file.
  • +
+
+

2025-03-25

  • fix bug that caused some functions to fail to detect certain .csv files
-

2025-03-12

-
  • Update to MIT license ## 2025-02-25
  • -
  • Update CONTRIBUTING.md +

    2025-03-12

    +
    • Update to MIT license
    • +
+
+

2025-02-25

+
  • Update CONTRIBUTING.md
  • Update readme to remove mention of “borked” functions
-

2025-02-22

+

2025-02-22

  • Add CONTRIBUTING.md file.
@@ -61,19 +74,31 @@

2025-02-22NPSutils 1.0.0

2025-01-22

-
  • Update license to CC0. ## 2025-01-19
  • -
  • remove get_data_packages_deprecated() is a breaking change resulting in release of v.1.0.0.
  • +
    • Update license to CC0.
    • +
+
+

2025-01-19

+

2024-12-19

  • remove validate_data_package() as this function was listed as “still under construction” is mostly obsolete given other functions and functions in the DPchecker package.
  • -
  • remove load_domains() as this function was not working properly and was conceived of before the data package specifications were properly set. ## 2024-12-19
  • -
  • updated load_pkg_metadata to be simpler and essentially call DPchecker::load_metadata but with a preset default directory structure that works well with the default settings for get_data_package.
  • -
  • Add meta-analysis functions for finding and producing summary statistics multiple data packages including get_ref_list, get_refs_info(), and summarize_packages. ## 2024-10-24
  • -
  • fix how get_data_package aliases get_data_packages, specifically now allows users to adjust parameters to non-default settings. ## 2024-10-21
  • -
  • Bug fixes to load_data_package() +
  • remove load_domains() as this function was not working properly and was conceived of before the data package specifications were properly set.
  • +
+
+

2024-12-19

+
  • updated load_pkg_metadata to be simpler and essentially call DPchecker::load_metadata but with a preset default directory structure that works well with the default settings for get_data_package.
  • +
  • Add meta-analysis functions for finding and producing summary statistics multiple data packages including get_ref_list, get_refs_info(), and summarize_packages.
  • +
+
+

2024-10-24

+
  • fix how get_data_package aliases get_data_packages, specifically now allows users to adjust parameters to non-default settings.
  • +
+
+

2024-10-21

+
  • Bug fixes to load_data_package()
  • Bug fixes to .get_authors()
  • @@ -135,11 +160,8 @@

    NPSutils 0.2.

NPSutils 0.2.0.0

-

Facelift to the entire package:

-
  • Functions and parameters have snake_case names
  • -
  • Tidyverse styling via styler
  • -
  • Added bare-bones pkgdown site
  • -
+

Facelift to the entire package: * Functions and parameters have snake_case names * Tidyverse styling via styler * Added bare-bones pkgdown site

+

NPSutils 0.1.0.0

  • Added a NEWS.md file to track changes to the package.
  • diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 165e415..1eaa0a6 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,9 +1,9 @@ -pandoc: '3.4' +pandoc: 3.6.3 pkgdown: 2.1.1 pkgdown_sha: ~ articles: NPSutils: NPSutils.html -last_built: 2025-09-15T21:47Z +last_built: 2026-01-02T16:38Z urls: reference: https://nationalparkservice.github.io/NPSutils/reference article: https://nationalparkservice.github.io/NPSutils/articles