Checks that processed data columns date, cases_new, cases_total, deaths_new, deaths_total and that region level have the correct types.
expect_processed_cols(data, level = "1", localised = TRUE)
The data to check
character_array the level of the data to check
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()