covidsymptom (version 0.9)

get_latest_data: Retrieve updated COVID Symptom Study Sweden (CSSS) data

Description

Downloads latest version of CSSS data.

Usage

get_latest_data(data_level = c("national", "county", "postcode"))

Arguments

data_level

selects which data set from CSSS you want to download: "national" (default), "county" or "postcode"

Value

This function returns the selected data.frame

Details

This function was designed to download the latest data from COVID Symptom Study Sweden without the need to update the package on a regular basis.

Examples

Run this code
# NOT RUN {
df <- get_latest_data(data_level = "county")

# }

Run the code above in your browser using DataLab