Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

prisonbrief

danilofreire.github.io

  • Free plan
  • Windows
  • macOS
  • Linux

prisonbrief

Free

Open source

What the maker publishes

Authors
The package was written by Danilo Freire and Robert Myles McDonnell. source
Country list
The wpb_list() function prints the available countries to the console. source
Data coverage
The World Prison Brief data are described as covering 223 jurisdictions and coming from public sources. source
Data limitation
Country-level table data may need further cleaning before quantitative analysis, while regional data are prepared for automated analysis. source
Data source
The World Prison Brief is described as an online database compiled by the Institute for Criminal Policy Research. source
Deployment
desktop source
Install
The stable package is available on CRAN via install.packages("prisonbrief"), with development installation documented through GitHub. source
License
The software is distributed under the MIT License, which grants permission to use, copy, modify, publish, distribute, sublicense, and sell copies subject to its conditions. source
Mapping
wpb_table() provides geometric shapes for maps. source
Prison tables
wpb_table() returns prison system variables for the world, a region, or a country. source
Purpose
prisonbrief downloads, cleans, and returns data from the World Prison Brief for statistical analysis. source
Regions
Documented region choices include Africa, Asia, Caribbean, Central America, Europe, Middle East, North America, Oceania, South America, and All. source
Requirements
The package depends on R and uses spatial-data packages to return simple features dataframes; Linux installation may require libudunits2-dev. source
Scripting support
Yes source
Support
The project welcomes feedback and suggestions through GitHub issues. source
Time series
wpb_series() downloads and tidies prison population total and rate trends for jurisdictions in the project. source

Checked against the maker's pages on 5 Oct 2026.