expect_clean_cols: Test clean columns contain the correct data and types

Description Usage Arguments See Also

View source: R/test-DataClass.R

Description

Checks the date column is an s3 class and that region level column is a character in the cleaned data (data$clean)

Usage

1

Arguments

data

The clean data to check

level

character_array the level of the data to check

See Also

Functions used for testing data is cleaned and processed correctly expect_columns_contain_data(), expect_processed_cols(), test_cleaning(), test_download_JSON(), test_download(), test_processing(), test_return()


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