Suite of tools for macroeconomics analysis
Project description
Macroecon-Tools
A open-source set of tools to assist with macroeconomic work. The package includes two classes, Timeseries and TimeseriesTable, for working with time series data and collections of time series. The package is built on pandas and numpy to offer additional metadata and advanced operations tailored for macroeconomic analysis of time series.
Modules
timeseries: Contains the datastructures extended from pd.Series and pd.DataFrame.Timeseries: A class that extends pd.Series to include metadata and additional methods.TimeseriesTable: A class that extends a dictionary and includes functionality from pd.DataFrame.
fetch_data: Contains functions to fetch data from the internet.get_fred: Fetches data from the Federal Reserve Economic Data (FRED) API.get_barnichon: Fetches and parses data from the Barnichon dataset.get_ludvigson: Fetches and parses data from the Ludvigson dataset.
visualizer: Contains functions to visualize time series data.vis_multi_series: Visualizes multiple time series on the same plot.
Installation
To install the package, run the following command in the terminal:
pip install macroecon-tools
Timeseries Module
Timeseries Class
The Timeseries class extends the pd.Series class to include metadata and additional methods. The class is initialized with a pd.Series object and additional metadata. The metadata includes the following:
name: The name of the time series.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file macroecon_tools-1.0.5.tar.gz.
File metadata
- Download URL: macroecon_tools-1.0.5.tar.gz
- Upload date:
- Size: 52.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/8.5.0 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.67.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4315ce71c8e8ced5bcf08ad465d1f9ef465d7f17b19de64f91164fbed51cf682
|
|
| MD5 |
23ed607cee45bd12d06107a8eaf7b468
|
|
| BLAKE2b-256 |
ec5531464a7a49f22af2343eef2a4461ac9a034c78ba0e80e06d4f94ebce603b
|
File details
Details for the file macroecon_tools-1.0.5-py3-none-any.whl.
File metadata
- Download URL: macroecon_tools-1.0.5-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/8.5.0 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.67.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
853654ae89ddef18482666ae1b25712a68df32e7440546a7b2b0b41d5f2af33b
|
|
| MD5 |
6d34f20b45f2cf92cd2c545b029d8420
|
|
| BLAKE2b-256 |
afb0690802c5bb75f3281cbb7860d54df3ac57acc082219aaa44edc22d430d5c
|