Skip to content

anagkan/Inflation_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Description

This project is an exercise in using Python for data analysis. It is for my personal purpose of becoming more familiar with Python's statistical and econometric applications.

Key Files

  • data.py handles the loading, processing, and cleaning of data
  • inflation_tracker.ipynb is an IPython Notebook where I develop my models
    • I have opted not to save files with output, to save space
  • .env.example is where you should store your FRED API Key, make sure to change it to .env
  • dashboard.py is a dashboard that can be ran locally via Streamlit
    • Streamlit uses port 8501 by default
streamlit run dashboard.py

To Run Yourself

  1. Clone the repository:
git clone https://github.com/anagkan/inflation-tracker.git
cd inflation-tracker
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Get a FRED API key:

  2. Create a .env file in the project root using .env.example as a guide.

Project Structure:

inflation_tracker/
├── data.py                 # Data fetching and processing functions
├── dashboard.py            # Streamlit dashboard
├── inflation_tracker.ipynb # Jupyter notebook with detailed analysis
├── requirements.txt        # Python dependencies
├── .env.example           # Example environment file
├── .gitignore
└── README.md

Update later...

Releases

No releases published

Packages

 
 
 

Contributors