Skip to main content

This python package allows its users to retrieve data provided by FRED® API and information related to them, such as their source.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fredeco-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

fredeco-0.1.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file fredeco-0.1.1.tar.gz.

File metadata

  • Download URL: fredeco-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10

File hashes

Hashes for fredeco-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d531925b578843b74036fc10d5702504a37ec93f54b4e55eb4a181cf6c576218
MD5 e1cec9289df37b3cbd58225e290b3800
BLAKE2b-256 08d343e427b282e290ecf4d71963eddda81bd2c1bb7775d56ff3dcfd7dca8bbc

See more details on using hashes here.

File details

Details for the file fredeco-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fredeco-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10

File hashes

Hashes for fredeco-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d45848dd50c6f7872e910271b59a49b1385f92493d78c90ca004829d26b8a10b
MD5 22eece2bc2b5c80c1f075467b2c1566d
BLAKE2b-256 04dd22ea787baab8256b3315443b13afedb23ba6813dbe0e145a63825415e8de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page