getFundData: Get fund data.

Description Usage Arguments Value Source See Also

Description

getFundData loads the fund data from the specified directory and file. If the file does not exist, then it downloads the data and stores it in the specified file.

Usage

1
2
getFundData(file = paste0("fund-data-", Sys.Date(), ".RData"),
  dir = tempdir(), force = FALSE, quite = FALSE)

Arguments

file

String, file name. Default is generated based on today's date.

dir

String, directory of the file. Default is generated temporary directory.

force

Logical, whether to force download data even if the file with the specified name already exists.

quite

Logical, whether to suppress any output to console.

Value

Data frame, with the fund data.

Source

Data comes from http://manapensija.lv.

See Also

downloadFundData.


nickto/PensionFundsLv documentation built on May 23, 2019, 5:08 p.m.