Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 720 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 720 Bytes

R-Code

Code used to estimate indicators and other analyses based on open-data.

Codes available:

  • homicide_rate: estimates the homicide rate per 100,000 inhabitants per municipality in Mexico from 2010 onwards based on CONAPO and INEGI data.
  • nearer_gasoline_stations: estimates the number of near stations within a specified radius based on the Mexican Energy Regulatory Commission gasoline price data. The function was built for the gasoline prices' blog post.
  • nearest_gasoline_station: estimates the driving time to the nearest gasoline station based on the gmapsdistance library and the Mexican Energy Regulatory Commission gasoline price data. The function was built for the gasoline prices' blog post.