Learn R Programming

covidregionaldata (version 0.9.3)

add_extra_na_cols: Add extra columns filled with NA values to a dataset.

Description

Adds extra columns filled with NAs to a dataset. This ensures that all datasets from the covidregionaldata package return datasets of the same underlying structure (i.e. same columns).

Usage

add_extra_na_cols(data)

Arguments

data

A data frame

Value

A tibble with relevant NA columns added

See Also

Compulsory processing functions calculate_columns_from_existing_data(), complete_cumulative_columns(), fill_empty_dates_with_na()