This repository consists of 5 .rmd
files, 2 files with package names that were used at the internship to create visualizations, a specific pdf report knit friendly .rmd
, a specific html report knit friendly .rmd
and xaringan (presentation) .rmd
. Also, HTML versions of all the 5 .rmd
files is available.
The folder also contains 2 data folders, one for the visualizations and report and the other one contains cleaned data used for the presentation. The graphs
folder contains the saved plots with 360themes added to them and the images
folder for images used in the report and the presentation.
The first package, 'Decriminalizing Suicide' focuses on various aspects covered by the authors, one of them is 'India's Mental Health Act 2017' and opposite results are observed due to different data sources, an increase and decrease after 2017, which is discussed in the report. The second package, 'Policing the Police' takes a generic angle, covering topics of shootings around the world, the changing trust in police and much more. The project uses methods of data wrangling, exploration, pdf scraping, spatial analysis and basics of functions of tidyverse, in R language and uses 'themes360info' package for the theme.
These charts, as well as the analyses that underpin them, are available under a Creative Commons Attribution 4.0 licence. This includes commercial reuse and derivates.
Data in these charts comes from:
Please attribute 360info and the data sources when you use and remix these visualizations.
To setup a development environment manually, you'll need to:
- Download the install R
- Satisfy the R package dependencies. In R:
- Install the
renv
package withinstall.packages("renv")
, - Then run
renv::restore()
to install the R package dependencies. - (For problems satisfying R package dependencies, refer to Quarto's documentation on virtual environments.)
- Install the
Now, render the .rmd
files directory with (for example):
rmarkdown::render("policingthepolice.Rmd")