Both metadata and values from postbin
are read and merged in a single data.table
.
Each line will correspond to a single "measurement" with deadline, station code,
x, y and z coordinates, station name and value.
Usage
import_postbin(metadata = NULL, data = NULL)
Arguments
- metadata
Character vector with the path to input coo
file.
- data
Character vector with the path to input data from postbin
.
Value
A data.table
with all values corresponding to a single "measurement".
Examples
if (FALSE) {
cooFile <- c("extdata/station_4.0.coo")
dataFile <- c("extdata/PM10_2008.txt")
postbindata <- import_postbin(metadata = cooFile, data = dataFile)
}