Data Prep Default Functions
data_prep_default.RdData Prep Default Functions
Usage
handle_missing_values_default(data, series_variable = NULL)
handle_zero_values_default(data, series_variable = NULL)
trim_series_default(data, series_variable = NULL, time_variable = NULL)
series_harmonizer_default(data, series_variable = NULL, time_variable = NULL)
deheaper_default(data, series_variable = NULL, time_variable = NULL)
compute_moving_average_default(
data,
series_variable = NULL,
time_variable = NULL
)
period_aggregator_default(
data,
time_variable = NULL,
period_width_variable = NULL,
count_variable = NULL,
norm_variable = NULL
)
count_aggregator_default(
data,
total_count_variable = NULL,
count_variable = NULL,
grouping_variable = NULL
)
period_describer_default(
data,
period_start_variable = NULL,
period_end_variable = NULL,
period_mid_time_variable = NULL,
period_mid_date_variable = NULL,
period_days_variable = NULL
)Arguments
- data
Data frame that likely comes from IIDDA.
- series_variable
Name of variable that can be used on the y-axis of a time-series.
- time_variable
Name of variable that characterizes the temporal location of the time period.
- period_width_variable
Name of variable that characterizes the width of the time period.
- count_variable
Name of variable containing a count (e.g., cases, births, deaths, population).
- norm_variable
Name of variable that can be used to normalize another variable (e.g., population normalized cases).
- total_count_variable
Name of variable containing a marginal total of a set of counts.
- grouping_variable
Name of variable containing
- period_start_variable
Name of variable containing
- period_end_variable
Name of variable containing
- period_mid_time_variable
Name of variable containing
- period_mid_date_variable
Name of variable containing
- period_days_variable
Name of variable containing
- cases_variable
Name of variable containing unstandardized reported incidence.
- population_variable
Name of variable containing population numbers.
- birth_variable
Name of variable containing numbers of births.
- death_variable
Name of variable containing numbers of deaths.
- median_cases_variable
Name of variable containing the median of a set of count variables.
- period_mid_variable
Name of variable containing
- date_variable
Name of variable containing
- integer_time_variable
Name of variable containing
- numeric_time_variable
Name of variable containing
- time_scale_variable
Name of variable containing
- time_group_variable
Name of variable containing
- time_grouping_variable
Name of variable containing
- disease_variable
Name of variable containing
- hierarchical_variable
Name of variable containing
- nesting_variable
Name of variable containing
- basal_variable
Name of variable containing
- title_variable
Name of variable containing
- among_panel_variable
Name of variable containing
- within_panel_variable
Name of variable containing
- colour_variable
Name of variable containing
- category_variable
Name of variable containing
- categorical_variable
Name of variable containing