You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@
3
3
[doi]: https://doi.org/10.17605/OSF.IO/U8DC3
4
4
5
5
6
-
# Monthly municipal-level homicide rates in Mexico from January 2000 to December 2021
6
+
# Monthly municipal-level homicide rates in Mexico from January 2000 to December 2022
7
7
8
-
Data on crude monthly municipal-level homicide rates is available in `mexico-muni-month-homicide-rates-2000-2021.csv`; state-level aggregations are available in `mexico-state-month-homicide-rates-2000-2021.csv`. Note that both files use `|` as the separator.
8
+
Data on crude monthly municipal-level homicide rates is available in `mexico-muni-month-homicide-rates-2000-2022.csv`; state-level aggregations are available in `mexico-state-month-homicide-rates-2000-2022.csv`. Note that both files use `|` as the separator.
9
9
10
10
If you use `R` you can use `readr` package to load the file and specify the separator with `readr::read_delim("PATH_TO_FILE", delim = "|")`
11
11
@@ -18,24 +18,24 @@ To replicate the results, first run the `import` sub-task within the `census-dat
18
18
- iter_00_cpv2010.csv, retreived from https://www.inegi.org.mx/programas/ccpv/2010/#Datos_abiertos (download data for "Estados Unidos Mexicanos")
19
19
- conjunto_de_datos_iter_00CSV20.csv, retreived from https://www.inegi.org.mx/programas/ccpv/2020/#Datos_abiertos (download data for "Estados Unidos Mexicanos")
20
20
21
-
Next run the `interpolate` sub-task within the `census-task` using the `Makefile` in the `census-data/interpolate` directory. This task uses the population counts from the `import` sub-task to linearly interpolate mid-year (1 July) population counts for each municipality from 2000-2021.
21
+
Next run the `interpolate` sub-task within the `census-task` using the `Makefile` in the `census-data/interpolate` directory. This task uses the population counts from the `import` sub-task to linearly interpolate mid-year (1 July) population counts for each municipality from 2000-2022.
22
22
23
-
After running both sub-tasks in the `census-data` task, run the sub-tasks in the `deaths-data` directory. Again, this task begins with an `import` sub-task, which you can run using the `Makefile`. This task reads in death certificate files published in `.dbf` format by INEGI and writes their contents to `.csv` files. This task expects death certificate files from 2000-2021 in a sub-directory called `death-certificates` within the top-level `data` directory. These files can be downloaded from https://www.inegi.org.mx/programas/mortalidad/#Microdatos.
23
+
After running both sub-tasks in the `census-data` task, run the sub-tasks in the `deaths-data` directory. Again, this task begins with an `import` sub-task, which you can run using the `Makefile`. This task reads in death certificate files published in `.dbf` format by INEGI and writes their contents to `.csv` files. This task expects death certificate files from 2000-2022 in a sub-directory called `death-certificates` within the top-level `data` directory. These files can be downloaded from https://www.inegi.org.mx/programas/mortalidad/#Microdatos.
24
24
25
-
Next, run the `homicide-counts` sub-task using the `Makefile`. This task uses the death certificate files imported in the `deaths-data/import` task to generate counts of homicide deaths in each municipality in each month from January 2000-December 2021. The cause of death classification file, found in the `hand` subdirectory follows the cause of death classification scheme used by [Elo, Beltrán-Sánchez and Macinko (2014)](https://pubmed.ncbi.nlm.nih.gov/24554793/). Note that deaths that occurred outside of Mexico and deaths that were missing cause of death, country of occurrence, or municipality of occurrence were excluded from these calculations. We also opted to use data from the location where the death occurred rather than the location where the individual was from because this information was more complete for homicides. One day we might impute this information and recalculate the counts accordingly.
25
+
Next, run the `homicide-counts` sub-task using the `Makefile`. This task uses the death certificate files imported in the `deaths-data/import` task to generate counts of homicide deaths in each municipality in each month from January 2000-December 2022. The cause of death classification file, found in the `hand` subdirectory follows the cause of death classification scheme used by [Elo, Beltrán-Sánchez and Macinko (2014)](https://pubmed.ncbi.nlm.nih.gov/24554793/). Note that deaths that occurred outside of Mexico and deaths that were missing cause of death, country of occurrence, or municipality of occurrence were excluded from these calculations. We also opted to use data from the location where the death occurred rather than the location where the individual was from because this information was more complete for homicides. One day we might impute this information and recalculate the counts accordingly.
26
26
27
-
Finally, run the top-level `homicide-rates` task to calculate the monthly municipal-level crude homicide rates for January 2000-December 2021.
27
+
Finally, run the top-level `homicide-rates` task to calculate the monthly municipal-level crude homicide rates for January 2000-December 2022.
28
28
29
29
If you use this data please use the BibTeX entry below or see the [OSF repository](https://osf.io/u8dc3/) for other citation formats:
30
30
31
31
```
32
32
@misc{Gargiulo_Aburto_Floridi_2023,
33
-
title={Monthly municipal-level homicide rates in Mexico (January 2000–December 2021)},
33
+
title={Monthly municipal-level homicide rates in Mexico (January 2000–December 2022)},
34
34
url={osf.io/u8dc3},
35
35
DOI={10.17605/OSF.IO/U8DC3},
36
36
publisher={OSF},
37
37
author={Gargiulo, Maria and Aburto, José Manuel and Floridi, Ginevra},
0 commit comments