Skip to contents

Get a tibble showing what years of crime data are available from which cities in the Open Crime Database.

Usage

list_crime_data(quiet = FALSE)

Arguments

quiet

Should messages and warnings relating to data availability and processing be suppressed?

Value

A tibble

Examples

# \donttest{
list_crime_data()
#> Using cached URLs to get data from server.
#>  These URLs rarely change and this is almost certainly safe.
#>              city        years
#> 1      All cities 2007 to 2020
#> 2          Austin 2007 to 2020
#> 3          Boston 2016 to 2020
#> 4         Chicago 2007 to 2020
#> 5         Detroit 2009 to 2020
#> 6      Fort Worth 2007 to 2019
#> 7     Kansas City 2009 to 2020
#> 8     Los Angeles 2010 to 2020
#> 9      Louisville 2007 to 2020
#> 10        Memphis 2007 to 2020
#> 11           Mesa 2016 to 2020
#> 12      Nashville 2013 to 2020
#> 13       New York 2007 to 2020
#> 14  San Francisco 2007 to 2020
#> 15        Seattle 2008 to 2020
#> 16       St Louis 2008 to 2020
#> 17         Tucson 2009 to 2020
#> 18 Virginia Beach 2013 to 2020
# }