airbaseSplice(dat, drop = TRUE)
importAirbase
function.importAirbase
function the different measurement codes
are retained in the pollutant names if more than one code is used,
resulting in names like NOX|101, NOX|102 and so on.For airbaseSplice
function does. It will combine multiple
measurements of the same species into a new single species. In
cases where there is overlap, more recent instrument measurements
take precedence over older instrument measurements.
In other cases it can be sensible to keep the different measurements of the same species separate. An example of such a case is for PM10 where, for example, moving from TEOM to FDMS measurements produces time series that cannot (or should not) be easily be merged.
Rather than combine all pollutant measurements of the same species by default it was thought important to retain this information to allow users more flexibility.
If drop = TRUE
then the original columns are not
retained. For example, given original columns NOX|101, NOX|102 the
new data frame will have only one column NOX. Conversely, if
drop = FALSE
then the final data frame will have three
species: NOX|101, NOX|102 and a new combined field NOX.