download_reports: Retrieve and save the reports data

View source: R/download-data.R

download_reportsR Documentation

Retrieve and save the reports data

Description

Retrieves the reports data from the Canadian COVID-19 tracker API and pins it to the given board. Also computes some extra variables, change_active, total_active, and positivity_rate.

Usage

download_reports(provinces_codes, board = "github")

Arguments

provinces_codes

A list of two-letter territory/provinces codes (e.g. "AB") to be updated.

board

The name of the pins board to write the data.


taylordunn/canadacoviddata documentation built on Dec. 15, 2022, 3:01 a.m.