Download and parse World Prison Brief data

wpb_table(region = c("Africa", "Asia", "Caribbean", "Central America",
  "Europe", "Middle East", "North America", "Oceania", "South America", "All"),
  country = NULL)

Arguments

region

character. Return details for all the countries in the particular region. For a list of the countries in each region, use wbp_region_list().

country

character. If details of a specific country are required, the country can be specified by name. A non-NULL value for this parameter will void the region argument. For a list of country names, use wpb_list().

Examples

# NOT RUN {
# Get details for Spain:
espana <- wpb_table(country = "Spain")

# Get details for Central America:
CA <- wpb_table(region = "Central America")
# }