IDEAS home Printed from https://ideas.repec.org/a/gam/jdataj/v7y2022i7p91-d856500.html
   My bibliography  Save this article

Unified, Labeled, and Semi-Structured Database of Pre-Processed Mexican Laws

Author

Listed:
  • Bella Martinez-Seis

    (Engineering Department, UPIITA-IPN, Instituto Politécnico Nacional, Mexico City 07360, Mexico)

  • Obdulia Pichardo-Lagunas

    (Engineering Department, UPIITA-IPN, Instituto Politécnico Nacional, Mexico City 07360, Mexico)

  • Harlan Koff

    (Department of Geography and Spatial Planning, University of Luxembourg, Maison des Sciences Humaines, 11, Porte des Sciences, L-4366 Luxembourg, Luxembourg
    GAMMA-UL Chair for Regional Integration and Sustainability, Instituto de Ecología, A.C. (INECOL), El Haya Xalapa 91070, Mexico
    Department of Politics and International Relations, University of Johannesburg, Auckland Park 2006, South Africa)

  • Miguel Equihua

    (Red de Ambiente y Sustentabilidad, Instituto de Ecología, A.C. (INECOL), Xalapa 91073, Mexico)

  • Octavio Perez-Maqueo

    (Red de Ambiente y Sustentabilidad, Instituto de Ecología, A.C. (INECOL), Xalapa 91073, Mexico)

  • Arturo Hernández-Huerta

    (Red de Ambiente y Sustentabilidad, Instituto de Ecología, A.C. (INECOL), Xalapa 91073, Mexico)

Abstract

This paper presents a corpus of pre-processed Mexican laws for computational tasks. The main contributions are the proposed JSON structure and the methodology used to achieve the semi-structured corpus with the selected algorithms. Law PDF documents were transformed into plain text, unified by a deconstruction of law–document structure, and labeled with natural language processing techniques considering part of speech (PoS); a process of entity extraction was also performed. The corpus includes the Mexican constitution and the Mexican laws that were collected from the official site in PDF format repealed before 14 October 2021. The collection has 305 documents, including: the Mexican constitution, 289 laws, 8 federal codes, 3 regulations, 2 statutes, 1 decree, and 1 ordinance. The semi-structured database includes the transformation of the set of laws from PDF format to a digital representation in order to facilitate its computational analysis. The documents were migrated to JSON type files to represent internal hierarchical relations. In addition, basic natural language processing techniques were implemented on laws for the identification of part of speech and named entities. The presented data set is mainly useful for text analysis and data science. It could be used for various legislative analysis tasks including: comprehension, interpretation, translation, classification, accessibility, coherence, and searches. Finally, we present some statistic of the identified entities and an example of the usefulness of the corpus for environmental laws.

Suggested Citation

  • Bella Martinez-Seis & Obdulia Pichardo-Lagunas & Harlan Koff & Miguel Equihua & Octavio Perez-Maqueo & Arturo Hernández-Huerta, 2022. "Unified, Labeled, and Semi-Structured Database of Pre-Processed Mexican Laws," Data, MDPI, vol. 7(7), pages 1-13, July.
  • Handle: RePEc:gam:jdataj:v:7:y:2022:i:7:p:91-:d:856500
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2306-5729/7/7/91/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2306-5729/7/7/91/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Trinidad Beleche, 2019. "Domestic violence laws and suicide in Mexico," Review of Economics of the Household, Springer, vol. 17(1), pages 229-248, March.
    2. Dube, Arindrajit & Dube, Oeindrila & Garcã A-Ponce, Omar, 2013. "Cross-Border Spillover: U.S. Gun Laws and Violence in Mexico," American Political Science Review, Cambridge University Press, vol. 107(3), pages 397-417, August.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Lindo, Jason M. & Padilla-Romo, María, 2018. "Kingpin approaches to fighting crime and community violence: Evidence from Mexico's drug war," Journal of Health Economics, Elsevier, vol. 58(C), pages 253-268.
    2. Jetter, Michael & Walker, Jay K., 2022. "News coverage and mass shootings in the US," European Economic Review, Elsevier, vol. 148(C).
    3. Ceren Baysan & Marshall Burke & Felipe González & Solomon Hsiang & Edward Miguel, 2018. "Economic and Non-Economic Factors in Violence: Evidence from Organized Crime, Suicides and Climate in Mexico," NBER Working Papers 24897, National Bureau of Economic Research, Inc.
    4. Jose Roberto Balmori de la Miyar, 2020. "Breaking sad: drug-related homicides and mental well-being in Mexico," International Review of Economics, Springer;Happiness Economics and Interpersonal Relations (HEIRS), vol. 67(4), pages 513-531, December.
    5. Roxana Gutierrez-Romero & Monica Oviedo Leon, 2014. "The good, the bad and the ugly: The socio-economic impact of drug cartels and their violence in Mexico," Working Papers wpdea1407, Department of Applied Economics at Universitat Autonoma of Barcelona.
    6. García-Ramos, Aixa, 2021. "Divorce laws and intimate partner violence: Evidence from Mexico," Journal of Development Economics, Elsevier, vol. 150(C).
    7. Dominic Rohner & Mathias Thoenig, 2021. "The Elusive Peace Dividend of Development Policy: From War Traps to Macro Complementarities," Annual Review of Economics, Annual Reviews, vol. 13(1), pages 111-131, August.
    8. Enamorado, Ted & López-Calva, Luis F. & Rodríguez-Castelán, Carlos & Winkler, Hernán, 2016. "Income inequality and violent crime: Evidence from Mexico's drug war," Journal of Development Economics, Elsevier, vol. 120(C), pages 128-143.
    9. Lee, Kangoh, 2015. "Federalism, guns, and jurisdictional gun policies," Regional Science and Urban Economics, Elsevier, vol. 52(C), pages 141-153.
    10. Gallea, Quentin, 2023. "Weapons and war: The effect of arms transfers on internal conflict," Journal of Development Economics, Elsevier, vol. 160(C).
    11. Mohammad Amin & Asif M. Islam & Augusto Lopez‐Claros, 2021. "Absent laws and missing women: Can domestic violence legislation reduce female mortality?," Review of Development Economics, Wiley Blackwell, vol. 25(4), pages 2113-2132, November.
    12. Blanco, Luisa R., 2013. "The impact of crime on trust in institutions in Mexico," European Journal of Political Economy, Elsevier, vol. 32(C), pages 38-55.
    13. Balmori de la Miyar Jose Roberto, 2019. "Violence and Avoidance Behavior: The Case of the Mexican Drug War," Peace Economics, Peace Science, and Public Policy, De Gruyter, vol. 25(4), pages 1-7, December.
    14. Durevall, Dick, 2021. "Gender Policy and Intimate Partner Violence in Colombia," Working Papers in Economics 809, University of Gothenburg, Department of Economics.
    15. Miguel Flores & Eduardo Rodriguez-Oreggia, 2014. "Spillover Effects on Homicides across Mexican Municipalities: A Spatial Regime Model Approach," The Review of Regional Studies, Southern Regional Science Association, vol. 44(3), pages 241-262, Winter.
    16. Michaelsen, Maren M. & Salardi, Paola, 2020. "Violence, psychological stress and educational performance during the “war on drugs” in Mexico," Journal of Development Economics, Elsevier, vol. 143(C).
    17. Federico Cingano & Marco Tonello, 2020. "Law Enforcement, Social Control and Organized Crime: Evidence from Local Government Dismissals in Italy," Italian Economic Journal: A Continuation of Rivista Italiana degli Economisti and Giornale degli Economisti, Springer;Società Italiana degli Economisti (Italian Economic Association), vol. 6(2), pages 221-254, July.
    18. Daniele, Gianmarco & Le Moglie, Marco & Masera, Federico, 2023. "Pains, guns and moves: The effect of the U.S. opioid epidemic on Mexican migration," Journal of Development Economics, Elsevier, vol. 160(C).
    19. Astghik Mavisakalyan & Anu Rammohan, 2021. "Female autonomy in household decision-making and intimate partner violence: evidence from Pakistan," Review of Economics of the Household, Springer, vol. 19(1), pages 255-280, March.
    20. Paloma Villagómez-Ornelas & Luis Monroy-Gómez-Franco, 2021. "Economic Inequality meets Social Stratification: An Application of Stratification Economics to Mexico," Papers 2021_03, Centro de Estudios Espinosa Yglesias.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jdataj:v:7:y:2022:i:7:p:91-:d:856500. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.