Skip to contents

Process Pandemic PACT dataset retrieved from the website

Usage

pact_process_website(pact_data, nest = TRUE, col_list = TRUE, fix = TRUE)

Arguments

pact_data

A data.frame for the Pandemic PACT dataset read from the Pandemic PACT website. This is usually obtained via a call to pact_read_website().

nest

Logical. Should variable/fields with multiple values be nested? Default to TRUE.

col_list

Logical. Should variable/fields with multiple values be made into column lists? Only evaluated if nest = TRUE. Default to TRUE.

fix

Logical. Should fixes be applied to the dataset based on known issues? Default to TRUE.

Value

A tibble of the dataset from the website structured based on nest, col_list, and `fix“ specifications.

Examples

if (FALSE) { # \dontrun{
  pact_process_website()
} # }