Description Usage Arguments Details Value
View source: R/removeCarryForward.R
In the old SWS, estimates were occassionally "carried forward", i.e. the estimate for the current year was just a copy of the estimate for the previous year. This function removes such estimates from the dataset.
1 | removeCarryForward(data, variable)
|
data |
The data.table containing the seed data. It should have columns geographicAreaM49 and measuredItemCPC. |
variable |
The column name of data which contains the values that should be checked. |
Note: I'm not sure if this function is still relevant, as all "trended" (i.e. carried forward) values from the old system were NOT copied to the new system. However, before removing this function, we should confirm that it is not needed.
The data.table with the "carried forward" values removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.