Skip to content

Code used to estimate indicators and other analysis made

Notifications You must be signed in to change notification settings

dmitre88/R-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.