Description Usage Arguments Details Value Author(s)
View source: R/updateOutputRange.R
update part of the time-ordered data.frame with new values
1 2 | updateOutputRange(dsTarget, dsNew, indexColumns = group_vars(dsNew),
dateColumn = "date")
|
dsTarget |
data.frame to update |
dsNew |
data.frame with new values |
indexColumns |
other index columns beside date |
dateColumn |
name of the column holding the dates/times |
Update values of dsNew
in dsTarget
. Both
data.frames must have the same columns. Each row is identified by
data and values in the indexColumns.
The function requires that both data.frames have unique dates per index in equidistant time steps. The time steps must match.
Existing rows of the same index and time in the range of
dsNew
are dropped from dsTarget
, and rows of dsNew
are appended.
arguemt dsTarget
with rows of dsNew
updated.
Thomas Wutzler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.