The datamgmt R package supports management of data packages on the Arctic Data Center (ADC) and State of Alaska's Salmon and People (SASAP) data portals.
You can install the development version from GitHub with:
# install.packages("remotes")
remotes::install_github("NCEAS/datamgmt")
master
branchstopifnot()
statements for all functionsdevtools::check()
The create_attributes_table()
function sometimes returns the following error:
Warning: Error in safeFromJSON: Argument 'txt' is not a valid JSON string.
[No stack trace available]
Error in safeFromJSON(charData, simplifyVector = FALSE) :
Argument 'txt' is not a valid JSON string.
It is probably because your version of httpuv
is incompatible. Run devtools::install_version("httpuv", "1.4.3")
and restart your R session and try running the code again. Downgrading to version 1.4.3
usually solves the issue. However, you can also try upgrading to the latest release of httpuv
. It is also possible that this is a browser issue. Try switching your browser if this does not work.
Work on this package was supported by:
Additional support was provided by the National Center for Ecological Analysis and Synthesis, a Center funded by the University of California, Santa Barbara, and the State of California.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.