Description Usage Arguments Examples
View source: R/clean_trim_data.R
Cleans the raw dataset by removing the first column, renaming the variables in the column headers. The dataset is trimmed from start to end date, the rest is omitted. Series that have NA values between these dates are omitted.
1 |
data |
Data frame containing raw data export from statistical agency. The first column is index, second column is the date and the following columns are indicator variables. |
start |
Start date to trim from. |
end |
End date to trim to. |
1 | # clean_trim_data(data=indicatordata, start="2004-01-01", end="2014-12-01")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.