Geospatial analysis of fuel prices in Brazil
This project includes EDA and geospatial analyses in the form of choropleth maps to visualize fuel price data from the Agência Nacional do Petróleo, Gás Natural e Biocombustíveis in Brazil. The dataset was made available through Kaggle and incorporates public geospatial data available through public ftp from the Brazilian government.
The purpose of the project is to perform basic exploratory data analysis and to answer three questions regarding the prices of fuel products in Brazil using geospatial analysis:
These questions are addressed using choropleth map visualizations in the notebook 0.3-geospatial-analysis.ipynb.
The fuel price data comes from the Agência Nacional do Petróleo, Gás Natural e Biocombustíveis (ANP in Portuguese), which releases weekly price reports of gas/petrol, diesel and other fuels used in transportation across the country. It includes the mean value per liter, number of gas stations analyzed and other information grouped by region and state. The analysis is enriched by joining the price data with geospatial data from the Brazilian government.
Fuel Prices:
Shapefiles:
0.1-import-clean-eda.ipynb
—> view notebook0.2-geospatial-analysis.ipynb
—> view notebookconda env create -f environment.yml
to create the environment (requires Anaconda)conda activate brazil_fuel_price_env
to activate the environment0.1-import-clean-eda.ipynb
0.2-geospatial-analysis.ipynb
figures
directoryThis project is licensed under the MIT License.