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

Description Usage Arguments Details Value Author(s) Examples

View source: R/get_latest_data.R

Description

Downloads latest version of CSSS data.

Usage

1
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"

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.

Value

This function returns the selected data.frame

Author(s)

Hugo Fitipaldi

Examples

1
df <- get_latest_data(data_level = "county")

covidsymptom documentation built on Jan. 27, 2022, 1:12 a.m.