项目
在 GitHub 查看
diegovalle/new.crimenmexico
关于
Website for elcri.men
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文new.crimenmexico
About
This repository contains the source code for generating the website elcri.men, which provides data and analysis on crime in Mexico.
Quick Start with Docker
The easiest way to recreate the website is to use the Docker container:
docker pull diegovalle/elcrimen-docker
docker run -it diegovalle/elcrimen-docker
Building the Website
Once inside the Docker container:
Change to the project directory:
cd /home/rstudio/new.crimenmexicoGet the latest version:
git pullBuild the website:
make
The generated website will be available in the elcri.men/public subdirectory.
Building Without Deployment Access
If you don't have the private key to deploy to elcri.men, follow these steps:
cd ~/new.crimenmexico
git config --global url."https://github.com/".insteadOf [email protected]:
git config --global url."https://".insteadOf git://
git pull
make download_csv download_inegi clean_data analysis website
Project Structure
- /elcri.men: Gatsby website for elcri.men
- /clean: Python scripts for downloading data and processing or it
- /data: Raw and processed data files
- /db: SQLite database with the processed data
- /R: R scripts for data analysis and processing
Data Sources
Víctimas y unidades robadas, nueva metodología
License
MIT License
Contact
How to update when a new ENVIPE comes out
- Open the pdf presentation and copy the crime rate to /tasa-crimen/
- Open the Excel files with the 'estimaciones' and standard errors and copy table 1.20 to /envipe/
- Sometimes the 'secustro' data is only found in the main presentation pdf
- Open the SNSP and Unidades robadas pdf report and copy them to /envipe/
- Look up the car robbery data at the AMIS site and copy them to /envipe/
Contributors
Thanks to all the amazing contributors who have helped improve elcri.men!
- [Diego Valle-Jones(https:&&]
- Román Contreras
探索相关项目
加载中…