Learn R Programming

aqr (version 0.4)

buildArchiveURL: Builds an archive URL, based on connection parameters, seriesId, field, frequency and start and end date.

Description

Builds an archive URL, based on connection parameters, seriesId, field, frequency and start and end date.

Usage

buildArchiveURL(con = aqInit(), seriesId, field, freq, startDate, endDate)

Arguments

con
connection parameters, will be initialized with aqInit() if void
seriesId
the series name
field
the field to load
freq
a frequency string, such as HOURS_1
startDate
the start date
endDate
the end date

Value

the complete archive URL as character