Reproduction Rights an API analysis

1. Reproductive rights in Latin America

According to wikipedia

In Latin America abortion is:

  • completely prohibited: El Salvador, Dominican Republic, Nicaragua, Honduras
  • allowed only to save the mother’s life: Guatemala, Paraguay, Venezuela,
  • allowed only to save the mother’s life and in case of rape: Brazil
  • allowed only to save the mother’s life or health: Costa Rica, Peru, Ecuador (and rape of disabled women)
  • allowed only to save the mother’s life and in case of rape or fetal malformation: Chile (since 2017), Panama
  • allowed only to save the mother’s life or health, and in case of rape: Bolivia
  • allowed only to save the mother’s life or health, and in case of rape, or fetal malformation: Colombia
  • allowed on request: Argentina, Cuba, Guyana, Uruguay, and some states of Mexico (Mexico City and Oaxaca)

For this exercise let’s focus on Paraguay, Brazil, Colombia and Uruguay, given that they represent four different levels of reproductive rights. On the extremes we have Paraguay and Uruguay, the first one only allows abortion in the case where the health of the mother is in danger, while the later allows it by request. Brazil and Clombia allow it in specific scenarios.

countries <- c("ARG", "BOL", "BRA", "CHL", "COL", "ECU", "PRY", "PER", "URY", "VEN")

Data <- wb_data(country = c(countries, "World"), indicator = c(Adolescent_fertility_rate = 'SP.ADO.TFRT', Contraceptive = 'SP.DYN.CONU.ZS', Primary_educ_fem = 'SE.PRM.PRSL.FE.ZS', Maternal_mort = 'SH.STA.MMRT'), return_wide = TRUE, start_date = 1990, end_date = 2015)

First let’s try to have a general idea about how do some fertility related variables behave in this country. For this reason I am going to be looking at:

  • Adolescent fertility rate (births per 1,000 women ages 15-19)
  • Contraceptive prevalence, any methods (% of women ages 15-49)
  • Persistence to last grade of primary, female (% of cohort)
  • Maternal mortality ratio (modeled estimate, per 100,000 live births)

3. Abortion Legislation in Uruguay

library(gtrendsR)
library(reshape2)

googleData = gtrends(c("aborto", "misoprostol", "consecuencias aborto", "clinicas clandestinas aborto"), gprop = "web", geo ="UY", time = "2010-01-01 2021-03-21")[[1]]
googleData = dcast(googleData, date ~ keyword, value.var = "hits")

Some background, the most recent abortion law (there were other attempts in the XX’s century) legalized abortion by the will of the pregnant person in October of 2012.