Learn R Programming

RBNZ (version 1.1.0)

getDownloadLink: Determine the URL for a File to be Downloaded

Description

Determine the URL for a File to be Downloaded

Usage

getDownloadLink(subFileName, seriesPage, series)

Arguments

subFileName

The name of the file to be downloaded, as provided by seriesOptions(). May contain only part of a series.

seriesPage

An XML document returned by xml2::read_html containing the webpage pertaining to the desired series.

series

Character string giving the name of the data series to retrieve.

Value

Character string giving the URL of the file to be downloaded.