Skip to contents

This function scrapes the relevant year's archive page for links to Excel files with national data and returns the result in a tibble.

Usage

pv_list_cr(year = NULL, base_url = NULL, user_agent = NULL)

Arguments

year

Year, defaults to scraping page for latest available data. String or numeric in YYYY format of length >= 1

base_url

base url, defaults to https://ispv.cz

user_agent

User agent string, defaults to package URL on Github (https://github.com/petrbouchal/ispv).

Value

a tibble with file name, URL and year. File name can be used to determine the time period and region.

Examples

if (FALSE) {
pv_list_reg(year = 2019:2020)
}