View source: R/read_field_obs.R
read_field_obs | R Documentation |
Read in field data into a data.frame
read_field_obs(file, var_name = "temp")
file |
a file path for a supported field data format (currently, tsv, csv, or RDS containing a data frame with Date, depth, wtemp or similar columns) |
var_name |
Name of variable to look for in field_obs file.
Should match a GLM simulation variable (see output from |
a data.frame with DateTime, Depth, and wTemp columns
Jordan S. Read
get_temp, resample_sim
# -- read in a .csv file --
file <- system.file('extdata', 'LakeMendota_field_data_hours.csv', package = 'glmtools')
field_data <- read_field_obs(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.