Skip to content

Tool to analyze daily Mexican fuel price data with New Relic Insights

License

Notifications You must be signed in to change notification settings

DataNerdsMX/fuel-prices-mx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mexican Fuel Prices Analysis with Python and New Relic Insights

This is a useful proof of concept of what can be done with New Relic Insights.

See the online report to explore some data available in the dashboard.

dashboard

How this works

  • The script gets the daily pricing report from the official API from Comisión Reguladora de Energía, for each location in each state in the country.
  • Then it uploads the pricing information to New Relic Insights using custom events.
  • The uploaded information should be beautifully exposed through an Insights dashboard.

Requirements

Play around

  • Download or clone this repo.
  • Get ready the requirements described above.
  • Run make data, which will:
    • make sure your virtual environment exists.
    • make sure your environment variables are set up.
    • download the data in pickle files.
    • upload it to New Relic Insights.

About

Tool to analyze daily Mexican fuel price data with New Relic Insights

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published