Violent deaths in Colombia
2019

Fabián Ernesto Vidal Sánchez

2023-03-15

1 Introduction

In this HTML document you will find some descriptive graphs about either the number or percentage of violent deaths in Colombia before the pandemic outbreak (2019). Furthermore, to improve the comparison between gender and age groups I will show plots of rates per 100.000 population. You can also find interactive graphs made with both Ggplot2 and Plotly libraries. The source of the data was the “Instituto Nacional de Medicina Legal y Ciencias Forenses” from Colombia.

2 Load packages and the database

remove(list = ls())

library(tidyverse)
library(googlesheets4)       
library(ggplot2)            ### Grammar of graphics
library(scales)       
library(stringr)
library(gridExtra)
library(plotly)
This data was loaded to Google Drive and with the library \(googlesheets4\) it is possible to obtain those data-frames into the R programming language. The first data frame (df_1) contains information on suicides by gender and age group.

3 Suicides in Colombia

The next barplot shows the total suicides in Colombia:

The next barplot shows the total suicides in Colombia:

bar_plot(df_1, total, 
         titulo = "Number of suicides in Colombia by age \n 2019")

The most affected group were young people between 20 and 24 years old. The next group was located in 25-29. Overall, the suicides were mostly between 20 and 34.

3.1 Suicides by gender in Colombia

grid.arrange(bar_plot(df_1, total_mujer, 
                      titulo = "Number of suicides of women by age \n 2019"), 
             bar_plot(df_1, total_hombre, 
                      titulo = "Number of suicides of men by age \n 2019"), 
             ncol = 2)

Men had more suicides than women in 2019, even numbers above one hundred for men. However, to make a better comparison it will be necessary calculate rates per 100000 population.

3.2 Per 100.000 population rates for suicides in Colombia

This interactive barplot has rates per 100000 population. Again, you may notice that suicide rates are higher for men in almost all age groups.

3.3 Per 100.000 population rates for suicides in Colombia divided by education levels

The highest rates were concentrated in people without high school complete or with only primary education. Men have strongest representation in these rates.

3.4 Monthly Per 100.000 population rates for suicides in Colombia

March, August and December have the highest rates of suicides but February and November have the lowest. It’s really important to notice the difference between male and women rates.