diff --git a/docs/articles/NPSutils.html b/docs/articles/NPSutils.html index 975581d..f9adca3 100644 --- a/docs/articles/NPSutils.html +++ b/docs/articles/NPSutils.html @@ -97,11 +97,11 @@
# install.packages("devtools")
-devtools::install_github("nationalparkservice/NPSutils")
+devtools::install_github("nationalparkservice/NPSutils")
NPSutils is also available as part of the NPSdataverse
# install.packages("devtools")
-devtools::install_github("nationalparkservice/NPSdataverse")
# install.packages("devtools")
-devtools::install_github("nationalparkservice/NPSutils")
+devtools::install_github("nationalparkservice/NPSutils")
NPSutils is also available as part of the NPSdataverse
# install.packages("devtools")
-devtools::install_github("nationalparkservice/NPSdataverse")
R/getDataPackage.R
- get_data_package.Rd
get_data_package creates a directory called "data" in the current working directory (unless it already exists). For each data package, it writes a new sub-directory of "data" named with the corresponding data package reference ID. All the data package files are then copied to that directory.
-get_data_package(reference_id, secure = FALSE, path = here::here())
is a 6-7 digit number corresponding to the reference ID of the data package.
logical indicating whether the file should be acquired using data services available to NPS internal staff only. Defaults to FALSE for public data. TRUE indicates internal data and requires a VPN connection (unless you are in an NPS office).
String. The path where the /data folder is written and all data package sub-directories and data files are contained.
-if (FALSE) {
-get_data_package(2272461, secure = FALSE)
-path_to_data_for_piping <- get_data_package(2272461, secure = TRUE)
-}
-