Description Usage Arguments Details Value See Also Examples
Beware of some Pitfalls: the openair format has no represantation of the unit. This column will be dropped. This is a problem for the case that the data contains values with different units for the same parameter. Another problem appears for data containing mulitplezeitfenster. This will duplicate data for shared start times.
1 | rmo_to_openair(df, ids = NULL, parameter_names = NULL)
|
df |
dataframe in rmo format |
ids |
opt. named list of ids for sites. if provided an id column will be added. name = parameter to rename, value = new name. Default NULL |
parameter_names |
opt. list of parameters to rename. name = parameter to rename, value = new name. Default NULL |
all parameter names will be converted to lower case. Following parameters will be automatically renamed to match the openair conventions:
startzeit => date
airmo_kurzname => site
WVv => ws
PM2.5 => pm25
dataframe in openair format
https://davidcarslaw.github.io/openair/
1 2 3 4 5 6 7 | ## Not run:
site_ids <- list("Zch_Schimmelstrasse"="Wiedikon", "Zch_Stampfenbachstrasse"="Staba")
pnames <- list("PM10h"="PM10")
theData <- rmo_to_openair(df, site_ids, pnames) # data with id column an PM10h renamed to PM10
theData <- rmo_to_openair(df) # data without id column and PM10h as PM10h
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.