Compatible with EnviroData V1.7.4.6

EnviroData R is an R client for interacting with the EnviroData API.

Installation


To install EnviroData R from the Hatfield Gitlab onto your local R library, you’ll need to first set your personal access token (PAT) if you’ve not already done so.

# set GitLab PAT, where [TOKEN] is the GitLab PAT
Sys.setenv(GITLAB_PAT=’[TOKEN]’)

Then, use the remotes package to install.

# example function call to install a package from GitLab
remotes::install_gitlab("hatfield/edr", 
  host="https://git.hatfieldgroup.net", INSTALL_opts = c("--no-multiarch"))

Usage


library(edr)

See the Get Started page for a 5 minute tutorial on the basics of EnviroData R.