Description Usage Arguments Examples
Information for active stations is available at http://scrippsco2.ucsd.edu/data/atmospheric_co2/sampling_stations
1 2 | get_station_data(stationURL, type = "daily_flask_co2",
dataURL = "http://scrippsco2.ucsd.edu")
|
baseURL |
url for station information |
1 2 3 4 5 6 7 8 9 10 11 12 13 | safe_load <- purrr::safely(get_station_data)
library(wilydata)
scripps_data_co2 <- scripps_stations$Page %>%
purrr::map_df(.f = function(s) {
res <- safe_load(s, type="daily_flask_co2")
if (!is.null(res$result)) {
res$result$station_id <- basename(s)
}
res$result
})
save(scripps_data_co2, file="../wilydata/data/scripps_data_co2.rda")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.