expect_processed_cols: Test that processed columns contain the correct data and...

Description Usage Arguments See Also

View source: R/test-DataClass.R

Description

Checks that processed data columns date, cases_new, cases_total, deaths_new, deaths_total and that region level have the correct types.

Usage

1
expect_processed_cols(data, level = "1", localised = TRUE)

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()


covidregionaldata documentation built on Feb. 7, 2022, 9:07 a.m.