add_empty_rows: Adds rows to data.table for timestamps with missing data

Description Usage Arguments Value

Description

Adds rows to data.table for timestamps with missing data, Removes impossible speed-values and rows with double timestamps

Usage

1
2
add_empty_rows(raw, vars = c("b", "g"), first_timestamp = NULL,
  last_timestamp = NULL)

Arguments

raw

data-input (data.table or data.frame)

vars

the variables with missing data

first_timestamp

start date

last_timestamp

end date

Value

data.table rows for each timestamps


MAGDa-BeuthHS/imputeData documentation built on May 8, 2019, 9:28 a.m.