# NOT RUN {
# get a list of series that matches the pattern "CPI"
# }
# NOT RUN {
#'
cpiList <- regexSeriesLabel(pattern="cpi") # no match, returns an empty data.frame
cpiList2 <- regexSeriesLabel(pattern="cpi", ignore.case=TRUE) # finds match
# }
Run the code above in your browser using DataLab