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

View source: R/bwwater.R

bw.waterR Documentation

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")

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.

Value

A data frame containing the bellwether watering data

Examples

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

pcvr documentation built on April 16, 2025, 5:12 p.m.