download_provinces: Retrieve and save the provinces data

View source: R/download-data.R

download_provincesR Documentation

Retrieve and save the provinces data

Description

Retrieves the provinces data from the Canadian COVID-19 tracker API and pins it to the given board. Returns the list of provinces which have been updated, by comparing the updated_at timestamp to the previously pinned data.

Usage

download_provinces(board = "github")

Arguments

board

The name of the pins board to write the data.

Value

A list of two-letter province/territory codes that have been updated.


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