Skip to main content

Description

This python package allows its users to retrieve economic data provided by FRED® API. Although fredeco uses FRED® API, it is not endorsed or certified by the Federal Reserve Bank of St. Louis.

Features

  • Retrieve a time series, when indicating the ID of the related indicator;

  • Retrieve several time series, indicating their IDs;

  • Search for all indicators related to the keywords indicated by the user;

  • Find all indicators of a category of series, by indicating the ID of the category;

  • Find the dates of all release of an indicator;

  • Find the information related to an indicator, such as the notes where the source of data can be found.

Installation

$ pip install fredeco

Dependencies

Usage

The usage of the package is explained in this section, whereas some examples are provided in the Examples section of the full documentation web page of the package. It is strongly recommanded to read that section.

  • Each user of fredeco should have his own FRED® API key. To accomodate a new user of fredeco. One of the functions of the package, request_api_key() allows the user to open the webpage to request a FRED® API key.

  • To retrieve data, the user of fredeco should indicate the ID of an indicator, such as GDP for the US Gross Domestic Product, and GDPCA for the US Real Gross Domestic Product. Data related to an economic indicator, with the function fred_series(), or several indicators, with the function fred_multi_series(), can be retreived. Remember that each user should have her/his own API key as explained previously.

  • fredeco allows its users to retrieve information about an indicator, as illustrated in the section Examples. To retrieve information about an indicator, the function fred_info_series() should be used.

  • Sometimes, a user may not know the ID of an indicator for which she/he whish to retrieve data. The user may indicate one or several keywords in the function fred_search() to search for indicators.

  • fredeco allows its users to quickly explore key statistics and information related to data retrieved, as follows, where df is a data frame of one or several indicators retrieved from FRED® API. The explore() function does not require the user to add a FRED® API key. However, it cannot be used for data frame where the columns names are not FRED® indicators ID. Indeed, in addition to providing some statistics about the indicators, it also retrieves and provides information related to their unit of measurement and their title.

  • The package fredeco has two modules: fredData, where one can find the functions to retrieve and explore FRED® indicators; fredSearch, where once can search for information related to data provided by FRED® API. The search index, in the documentation, can be used to see the description of each function.

License and terms of use

  • fredeco is created by Raulin L. Cadet. It is licensed under the terms of the MIT license.

  • By using the package fredeco, you are also agreeing to be bound by the FRED® API Terms of Use. The link to these Terms of Use is: Here.

Metadata

Release files for fredeco 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fredeco 0.1.1
File Size Uploaded
fredeco-0.1.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fredeco 0.1.1
File Interpreter ABI Platform
fredeco-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / fredeco-0.1.1.tar.gz

Download URL fredeco-0.1.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d531925b578843b74036fc10d5702504a37ec93f54b4e55eb4a181cf6c576218
BLAKE2b-256 checksum
How to use checksums
08d343e427b282e290ecf4d71963eddda81bd2c1bb7775d56ff3dcfd7dca8bbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Windows/10

Release files / fredeco-0.1.1-py3-none-any.whl

Download URL fredeco-0.1.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d45848dd50c6f7872e910271b59a49b1385f92493d78c90ca004829d26b8a10b
BLAKE2b-256 checksum
How to use checksums
04dd22ea787baab8256b3315443b13afedb23ba6813dbe0e145a63825415e8de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Windows/10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page