fillMissingValues: Fill missing values

Description Usage Arguments Value Examples

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)


Search within the kehra package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.