Welcome to the first API made by Fred and Angel!
This API provides a user-friendly display of the total population for the years 2010, 2015, and 2022, at its first stage, to download this data. The data is categorized by country, region, and year, making it easier for various users—including civil society, academia, and public policy professionals—to analyze the information.
Given that the database is somewhat large, we appreciate your patience when eventually loading and visualizing tables, charts, and especially maps, and also when downloading JSON or CSV files.
This API provides access to data stored in a CSV file hosted on GitHub. Users can retrieve, filter, and paginate records in JSON or CSV format.
To run this API locally, follow these steps:
- Clone the repository
git clone https://github.com/advanced-computing/fred_angel_project.git cd fred_angel_project
- Create a virtual environment (optional but recommended)
python -m venv venv source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
- Run the Flask app
python main.py
For more detailed instructions on searching and retrieving specific data, please refer to the documentation file at the following link:
Documentation.md
For any suggestions or inquiries, please feel free to contact us at the following email addresses: [email protected] or [email protected]