File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,13 +108,17 @@ Here is the json representation of a single five-minute observation:
108108
109109The data represent 5 minute summaries aggregated from 1/s observations.
110110
111+ First, this is what the API looks like
112+
113+ https://terraref.ncsa.illinois.edu/clowder/api/geostreams/datapoints?key=Pb3AUSqnUw&stream_id=4807&since=2017-01-02&until=2017-01-31
114+
111115``` {r met-geostream}
112116library(dplyr)
113117library(ggplot2)
114118library(jsonlite)
115119
116120url = ""
117- mac_weather.list <- jsonlite::fromJSON('https://terraref.ncsa.illinois.edu/clowder/api/geostreams/datapoints?key=Pb3AUSqnUw&stream_id=300', flatten = FALSE )
121+ mac_weather.list <- jsonlite::fromJSON('https://terraref.ncsa.illinois.edu/clowder/api/geostreams/datapoints?key=Pb3AUSqnUw&stream_id=4807&since=2017-01-02&until=2017-01-31' )
118122
119123# change time to human-readable
120124mac_weather <- mac_weather.list$properties %>%
You can’t perform that action at this time.
0 commit comments