Learn R Programming

pcvr (version 1.2.0)

bw.water: Read in lemnatech watering data from metadata.json files

Description

Read in lemnatech watering data from metadata.json files

Usage

bw.water(file = NULL, envKey = "environment")

Value

A data frame containing the bellwether watering data

Arguments

file

Path to a json file of lemnatech metadata.

envKey

Character string representing the json key for environment data. By default this is set to "environment". Currently there are no situations where this makes sense to change.

Examples

Run this code
tryCatch(
  {
    w <- bw.water("https://raw.githubusercontent.com/joshqsumner/pcvrTestData/main/metadata.json")
  },
  error = function(e) {
    message(e)
  }
)

Run the code above in your browser using DataLab