Description Usage Arguments See Also
View source: R/test-DataClass.R
Checks that processed data columns date, cases_new, cases_total, deaths_new, deaths_total and that region level have the correct types.
1 | expect_processed_cols(data, level = "1", localised = TRUE)
|
data |
The data to check |
level |
character_array the level of the data to check |
localised |
logical to check localised data or not, defaults to TRUE. |
Functions used for testing data is cleaned and processed correctly
expect_clean_cols()
,
expect_columns_contain_data()
,
test_cleaning()
,
test_download_JSON()
,
test_download()
,
test_processing()
,
test_return()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.