Test that processed columns contain the correct data and types
Source:R/test-DataClass.R
expect_processed_cols.Rd
Checks that processed data columns date, cases_new, cases_total, deaths_new, deaths_total and that region level have the correct types.
Arguments
- 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.
See also
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()