fredr_tags_series {fredr} | R Documentation |
Find FRED series matching tag names
Description
Get the series matching tags in the tag_names
parameter. Exclude tags in the
exclude_tag_names
parameter.
Usage
fredr_tags_series(
tag_names,
...,
exclude_tag_names = NULL,
limit = NULL,
offset = NULL,
order_by = NULL,
sort_order = NULL,
realtime_start = NULL,
realtime_end = NULL
)
Arguments
tag_names |
A semicolon delimited string of tag names to find series using. |
... |
These dots only exist for future extensions and should be empty. |
exclude_tag_names |
A semicolon delimited string of tag names that series match none of. No exclusions are done by default. |
limit |
An integer limit on the maximum number of results to return.
Defaults to |
offset |
An integer used in conjunction with |
order_by |
A string indicating which attribute by which to order the results of the query. Possible values include:
|
sort_order |
A string representing the order of the resulting series,
sorted by the attribute values specified by |
realtime_start |
A |
realtime_end |
A |
Value
A tibble
object containing FRED series with tags matching tag_names
and their descriptions.
API Documentation
See Also
fredr_category_tags()
, fredr_category_related_tags()
, fredr_docs()
,
fredr_release_tags()
, fredr_release_related_tags()
,
fredr_series_search_tags()
, fredr_series_search_related_tags()
,
fredr_tags()
, fredr_related_tags()
Examples
if (fredr_has_key()) {
# All series tagged with "gdp"
fredr_tags_series(tag_names = "gdp")
# All series tagged with "gdp" and not tagged with "quarterly"
fredr_tags_series(
tag_names = "gdp",
exclude_tag_names = "quarterly"
)
# Top 100 most popular non-quarterly series matching GDP
fredr_tags_series(
tag_names = "gdp",
exclude_tag_names = "quarterly",
order_by = "popularity",
limit = 100L
)
}