Get links to Excel files with national data on ISPV website for a given year
Source:R/pv_list.R
pv_list_cr.Rd
This function scrapes the relevant year's archive page for links to Excel files with national data and returns the result in a tibble.
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)
}