Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/NCEAS/datamgmt

Data management utilities for curating, documenting, and publishing data.
https://github.com/NCEAS/datamgmt

Last synced: about 1 month ago
JSON representation

Data management utilities for curating, documenting, and publishing data.

Awesome Lists containing this project

README

        

# datamgmt
### *Data management utilities for curating, documenting, and publishing data*
[![R build status](https://github.com/NCEAS/datamgmt/workflows/R-CMD-check/badge.svg)](https://github.com/NCEAS/datamgmt/actions)
[![Build Status](https://travis-ci.org/NCEAS/datamgmt.svg?branch=master)](https://travis-ci.org/NCEAS/datamgmt)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/datamgmt)](https://cran.r-project.org/package=datamgmt)

- **Authors**: NCEAS Data Science Fellows
- **License**: [Apache 2.0](https://opensource.org/licenses/Apache-2.0)
- [Package source code on GitHub](https://github.com/NCEAS/datamgmt)
- [**Submit bugs and feature requests**](https://github.com/NCEAS/datamgmt/issues)

The *datamgmt* R package supports management of data packages on the [Arctic Data Center](https://arcticdata.io/) (ADC) and [State of Alaska's Salmon and People](https://alaskasalmonandpeople.org/) (SASAP) data portals.

## Installing

You can install the development version from GitHub with:

```{r}
# install.packages("remotes")
remotes::install_github("NCEAS/datamgmt")
```

## Contributing

- Submit suggestions or bugs as [Issues](https://github.com/NCEAS/arcticdatautils/issues).
- For pull requests, target the `master` branch
- Follow the [tidyverse style conventions](http://style.tidyverse.org/), with the following specific style preferences:
- use underscore for all variable names unless referring to an EML object (e.g., otherEntity, publicationDate, etc.)
- include argument checks in the form of `stopifnot()` statements for all functions
- Before submitting a pull request, please update documentation, check package, and run tests:
- use `devtools::check()`
- fix any ERRORs and test failures to ensure the Travis CI build passes

## Errors

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.

## Acknowledgements

Work on this package was supported by:

- The Arctic Data Center: NSF-PLR grant #1546024 to M. B. Jones, S. Baker-Yeboah, J. Dozier, M. Schildhauer, and A. Budden

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.

[![nceas_footer](https://www.nceas.ucsb.edu/files/newLogo_0.png)](http://www.nceas.ucsb.edu)