Releases: sboysel/fredr
fredr 2.1.0
-
fredr()
/fredr_series_observations()
now always returnrealtime_start
andrealtime_end
columns. These are useful when setting the
realtime_start
/realtime_end
arguments, or when using thevintage_dates
argument (#88). -
Fixed a bug in
fredr()
/fredr_series_observations()
so that now the
vintage_dates
argument properly accepts aDate
vector of length 1 or
greater (#89).
fredr 2.0.0
-
fredr has been un-orphaned!
-
If the FRED rate limit is hit, all fredr functions will now wait an
appropriate amount of time before automatically attempting to make the
request again. The rate limit seems to be 120 requests per minute, so
fredr functions will wait 20 seconds between failed attempts, with a
maximum of 6 failed attempts. This should be plenty of time for the rate
limit to reset. -
Required arguments no longer have a default of
NULL
. This should make it
easier to visually distinguish between required and optional arguments.
Additionally,...
have been added between the required and optional
arguments of every function to force naming of optional arguments. -
All requests to the FRED API are now retried a maximum of 3 times on failure.
The low level function,fredr_request()
, has gained aretry_times
argument
if you need to change this on a case-by-case basis. -
There are two new functions related to the API key,
fredr_set_key()
and
fredr_has_key()
. These are mainly for internal usage.
fredr 1.0.0
Initial release for CRAN. All endpoint functions for the FRED API are now
implemented as functions in fredr.
Breaking changes
fredr()
->fredr_request()
(#46)fredr_series()
->fredr_series_observations()
(alias:fredr()
) (alias:fredr()
) now returns a tibble (with observation date, series ID, and values columns) instead of a time series object (#46, #49).- Remove dependencies
dplyr
andxts
(#9). fred_set_key()
no longer modifies.Renviron
. User is encouraged to manually change.Renviron
to persistently set FRED API key (#15).- Explicit parameters and parameter checking for all functions (#20).
- Split
fredr_search()
intofredr_series_search_text()
(search for series by text description)fredr_series_search_text()
(search for series)fredr_series_search_tags()
(search for series tags)fredr_series_search_related_tags()
(search for related tags)
New functions
Categories (#21)
fredr_category()
Get a FRED categoryfredr_category_children()
Get the child categories for a specified FRED parent categoryfredr_category_related()
Get the related categories for a FRED category.fredr_category_related_tags()
Get the related FRED tags within a categoryfredr_category_series()
Get the series in a categoryfredr_category_tags()
Get the FRED tags for a category
Releases (#22)
fredr_release()
Get a release of economic datafredr_release_dates()
Get release dates for a single release of economic datafredr_release_related_tags()
Get the related FRED tags for one or more FRED tags within a releasefredr_release_series()
Get the series on a release of economic datafredr_release_sources()
Get the sources for a release of economic datafredr_release_tables()
Get release table trees for a given releasefredr_release_tags()
Get the FRED tags for a releasefredr_releases()
Get all releases of economic datafredr_releases_dates()
Get release dates for all releases of economic data.
Series (#23)
fredr_series()
Return basic information for a FRED series.fredr_series_categories()
Get the categories for a FRED seriesfredr_series_release()
Get the release for a FRED seriesfredr_series_tags()
Get the tags for a FRED seriesfredr_series_updates()
Get a set of recently updated FRED seriesfredr_series_vintagedates()
Get the data vintage dates for a FRED series
Sources (#24)
fredr_source()
Get a source of economic datafredr_source_releases()
Get the releases for a sourcefredr_sources()
Get all sources of economic data
Tags (#25)
fredr_tags()
Get FRED series tagsfredr_related_tags()
Get related FRED tags given one or more tagsfredr_tags_series()
Find FRED series matching tag names
Other new features
fredr 0.3.0
fredr_series
now returns an xts
object.
fredr 0.2.0
Function names conform to fredr_*
api_docs
is nowfredr_docs
set_api_key
is nowfredr_key
fredr 0.1.0
fredr
combines tools like dplyr
and httr
to provide a flexible but powerful wrapper for the FRED API.
- Convenience functions
fredr_search()
andfredr_series()
for most commonly used FRED API features. - Execute more general queries using the backbone function
fredr()
- Bring up web documentation from the R environment with
api_docs()