complete_cumulative_columns: Completes cumulative columns if rows were added with NAs.

Description Usage Arguments Value See Also

View source: R/processing.R

Description

If a dataset had a row of NAs added to it (using fill_empty_dates_with_na) then cumulative data columns will have NAs which can cause issues later. This function fills these values with the previous non-NA value.

Usage

1

Arguments

data

A data frame

Value

A data tibble with NAs filled in for cumulative data columns.

See Also

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


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