Description Usage Arguments Details Value
newDataFileName is expected to have columns c(lookupVariable,lookupValue,newVariable,newValue,source)
1 | addNewData(data, newDataFileName)
|
data |
existing data.frame |
newDataFileName |
name of lookup table |
Within the column 'newVariable', replace values that match 'lookupValue' within column 'lookupVariable' with the value newValue'. If 'lookupVariable' is NA, then replace *all* elements of 'newVariable' with the value 'newValue'.
Note that lookupVariable can be the same as newVariable.
modified data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.