Description Usage Arguments Value Author(s) See Also Examples
View source: R/aqer_data_clean.R
Function to format Air Quality e-Reporting (AQER) observational data for easy use in the smonitor framework.
1 | aqer_data_clean(df, drop_sites = FALSE)
|
df |
Tibble from |
drop_sites |
Should bad sites be removed from the table? |
Tibble.
Stuart K. Grange
1 2 3 4 5 6 7 8 9 10 11 | # Example url
url <- "https://ereporting.blob.core.windows.net/downloadservice/GI_9_22755_2017_timeseries.csv"
data_aqer <- aqer_read_csv(url)
# Clean data
data_aqer_clean <- aqer_data_clean(data_aqer)
# Another example, this files has missing units
url <- "https://ereporting.blob.core.windows.net/downloadservice/AT_618_1437_2013_timeseries.csv"
data_aqer_clean_test <- aqer_read_csv(url) %>%
aqer_data_clean()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.