mergeSeries: Merge commercial paper series.

Description Usage Arguments Value See Also Examples

View source: R/fetch.R

Description

Combines the commercial paper series lists into a data frame with series as columns and dates as row names.

Usage

1

Arguments

data

an extracted commercial paper series from rates, volume, outstanding, etc.

Value

If data has class usfrbcpo, which contains both monthly and weekly series, then the return value is a list of two data frames weekly and monthly; otherwise, the return value is a data frame.

See Also

getCommercialPaperRates for extracting commercial paper rates, getCommercialPaperRatesOld for extracting old commercial paper rates, getCommercialPaperVolumes for extracting commercial paper volumes, getCommercialPaperOutstanding for extracting commercial paper outstanding, getCommercialPaperOutstandingOld for extracting old commercial paper outstanding, getCommercialPaperYearend for extracting commercial paper outstanding at year end.

Examples

1
2
3
4
cp <- getCommercialPaper()
rates <- getCommercialPaperRates(cp,"text")
rt <- mergeSeries(rates)
tail(rt)

mrbcuda/usfrbcp documentation built on May 23, 2019, 7:14 a.m.