Description Usage Arguments Value
View source: R/loop_sensor_functions.R
Read MnDOT JSON feed and wrangle into a tidy dataframe containing 20 variables related to sensor configuration. Useful for mapping (contains lat/lons) and calculating performance measures (contains detector_field).
1 | pull_configuration(return_opt = c("within_dir", "in_memory"))
|
return_opt |
an object of class string which indicates how to return the data. "within_dir" will return the data within the directory as a csv entitled "Configuration of Metro Detectors <<date in format yyyy-mm-dd>>". "in-memory" will return the data in R, but requires assignment. |
dataframe containing 20 variables, including detector_field and lat/lons, for each sensor in MnDOT's metro district
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.