FredHelpers#
- class fedfred.helpers.FredHelpers[source]#
Bases:
object
A class that provides helper methods for the FRED API.
Methods#
Helper method to validate date-string formatted parameters. |
|
Helper method to validate date-string formatted parameter asynchronously. |
|
Helper method to convert a datetime object to a string in YYYY-MM-DD format. |
|
Helper method to convert a datetime object to a string in YYYY-MM-DD format asynchronously. |
|
Helper method to convert a datetime object to a string in HH:MM format. |
|
Helper method to convert a datetime object to a string in HH:MM format asynchronously. |
|
Helper method to extract the region type from a GeoFred response dictr. |
|
Helper method to extract the region type from a GeoFred response dictionary asynchronously. |
|
Helper method to validate parameters prior to making a get request. |
|
Helper method to validate parameters prior to making a get request. |
|
Helper method to validate hh:mm formatted parameters. |
|
Helper method to validate hh:mm formatted parameters asynchronously. |
|
Helper method to convert a list of strings to a semicolon-separated string. |
|
Helper method to convert a list of strings to a semicolon-separated string asynchronously. |
|
Helper method to validate list-string formatted parameters. |
|
Helper method to validate list-string formatted parameters asynchronously. |
|
Helper method to validate parameters prior to making a get request. |
|
Helper method to validate parameters prior to making a get request asynchronously. |
|
Helper method to convert a FRED observation dictionary to a Dask DataFrame. |
|
Helper method to convert a FRED observation dictionary to a Dask DataFrame asynchronously. |
|
Helper method to convert a FRED observation dictionary to a Dask GeoPandas GeoDataFrame. |
|
Helper method to convert a FRED observation dictionary to a Dask GeoPandas GeoDataFrame asynchronously. |
|
Helper method to convert a fred observation dictionary to a GeoPandas GeoDataFrame. |
|
Helper method to convert a FRED observation dictionary to a GeoPandas GeoDataFrame asynchronously. |
|
Helper method to convert a fred observation dictionary to a Pandas DataFrame. |
|
Helper method to convert a FRED observation dictionary to a Pandas DataFrame asynchronously. |
|
Helper method to convert a fred observation dictionary to a Polars DataFrame. |
|
Helper method to convert a FRED observation dictionary to a Polars DataFrame asynchronously. |
|
Helper method to convert a FRED observation dictionary to a Polars GeoDataFrame. |
|
Helper method to convert a FRED observation dictionary to a Polars GeoDataFrame asynchronously. |
|
Helper method to convert a vintage_dates parameter to a string. |
|
Helper method to convert a vintage_dates parameter to a string asynchronously. |
|
Helper method to validate vintage_dates parameters. |
|
Helper method to validate vintage_dates parameters asynchronously. |