Code Monkey home page Code Monkey logo

datamgmt's Introduction

datamgmt

Data management utilities for curating, documenting, and publishing data

R build status Build Status CRAN_Status_Badge

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.

Installing

You can install the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("NCEAS/datamgmt")

Contributing

  • Submit suggestions or bugs as Issues.
  • For pull requests, target the master branch
  • Follow the tidyverse style conventions, 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

datamgmt's People

Contributors

dmullen17 avatar maier-m avatar isteves avatar drkrynstrng avatar smfreund avatar jeanetteclark avatar emilyodean avatar sharisochs avatar mbjones avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.