fillMissingValues: Fill missing values

Description Usage Arguments Value Examples

View source: R/fillMissingValues.R

Description

Fill missing values

Usage

1
2
fillMissingValues(ids, df, maxgap = 12, parallel = FALSE,
  formatDT = "%Y-%m-%d %H:%M")

Arguments

ids

site identification codes

df

dataframe containing the timeseries in columns separated by ID (header must follow this convention: column 1 = "datetime", column 2 = "SiteID", column 3 = "variable name"). df can be the result of GetDataFromECMWF().

maxgap

maximum gap to interpolate (e.g. 6 hours)

parallel

Bolean, if TRUE parallel jobs are allowed

formatDT

format of the datetime variable

Value

updated df with infilled values

Examples

1
# fillMissingValues(clima)

kehra documentation built on May 29, 2017, 6:18 p.m.