Description Usage Arguments Value See Also Examples
View source: R/regexSeriesLabel.R
Exploratory function. If the pattern successfuly matches one or more series labels, then a
data.frame
is returned with the series label and link. The link can be used in the function getSeriesData
to fetch
the data.
1 |
pattern |
character string as regular expression. Only accepts character string. If length is greater than 1, the first element is used. Defaults to |
... |
accepts the follwing extra arguments from |
A data.frame
. Columns are the series label, link and name respectively.
1 2 3 4 5 6 | # get a list of series that matches the pattern "CPI"
#'
cpiList <- regexSeriesLabel(pattern="cpi") # no match, returns an empty data.frame
cpiList2 <- regexSeriesLabel(pattern="cpi", ignore.case=TRUE) # finds match
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.