Description Usage Arguments Examples
This funtion reads in the pems data and reform it into a "comfortable" format with columns: time, vds, flow, occ, speed.
1 2 | parse.pems(inDir = "./pemsData/", outDir = "./processed/",
vds = c(1203501, 1203506, 1203534, 1203536, 1212126, 1213891), meta)
|
inDir |
The directory where the pems raw files are located, the raw files are in .gz format |
outDir |
The directory to write the output files, the files are in .csv format |
vds |
A vector of desired VDS's |
meta |
The meta data used to parse the data. It is suggested to read in the meta file by function "read.delim" |
1 2 | meta <- read.delim("./meta/d12_text_meta_2013_12_14.txt")
parse.pems(meta=meta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.