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. Jetter, Michael & Walker, Jay K., 2022. "News coverage and mass shootings in the US," European Economic Review, Elsevier, vol. 148(C).
    2. 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.
    3. 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.
    4. 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.
    5. García-Ramos, Aixa, 2021. "Divorce laws and intimate partner violence: Evidence from Mexico," Journal of Development Economics, Elsevier, vol. 150(C).
    6. 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.
    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. 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.
    9. 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.
    10. 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.
    11. Brian Knight, 2013. "State Gun Policy and Cross-State Externalities: Evidence from Crime Gun Tracing," American Economic Journal: Economic Policy, American Economic Association, vol. 5(4), pages 200-229, November.
    12. Hoehn-Velasco, Lauren & Silverio-Murillo, Adan, 2020. "Do spouses negotiate in the shadow of the law? Evidence from unilateral divorce, suicides, and homicides in Mexico," Economics Letters, Elsevier, vol. 187(C).
    13. Bucheli, José R. & Fontenla, Matías & Waddell, Benjamin James, 2019. "Return migration and violence," World Development, Elsevier, vol. 116(C), pages 113-124.
    14. Zhuang Hao & Benjamin Cowan, 2017. "The Cross-Border Spillover Effects of Recreational Marijuana Legalization," NBER Working Papers 23426, National Bureau of Economic Research, Inc.
    15. 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.
    16. repec:uab:wprdea:wpdea1410 is not listed on IDEAS
    17. Baysan, Ceren & Burke, Marshall & González, Felipe & Hsiang, Solomon & Miguel, Edward, 2019. "Non-economic factors in violence: Evidence from organized crime, suicides and climate in Mexico," Journal of Economic Behavior & Organization, Elsevier, vol. 168(C), pages 434-452.
    18. My Nguyen & Kien Le, 2022. "Can Legislation Reduce Domestic Violence in Developing Countries?," Sustainability, MDPI, vol. 14(20), pages 1-15, October.
    19. Donald J. Lacombe & Miguel Flores, 2017. "A hierarchical SLX model application to violent crime in Mexico," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 58(1), pages 119-134, January.
    20. Maren M. Michaelsen & Paola Salardi, 2018. "Violence, Psychological Stress and Educational Performance during the “War on Drugs†in Mexico," HiCN Working Papers 262, Households in Conflict Network.
    21. Juan Camilo Castillo, Daniel Mejia, and Pascual Restrepo, 2014. "Scarcity without Leviathan: The Violent Effects of Cocaine Supply Shortages in the Mexican Drug War - Working Paper 356," Working Papers 356, Center for Global Development.

    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.