An example data set containing the addresses for homicides reported by the Saint Louis Metropolitan Police Department
data(stl_homicides_small)
A tibble with 24 rows and 6 variables:
number, street and street suffix where homicide occured
year homicide occurred
data homicide occurred
state abbreviation of location, in these data, all "MO"
zipcode/postal code of location, in these data all NA
city of location, in these data all "St. Louis"
str(stl_homicides_small)
#> tibble [24 × 6] (S3: tbl_df/tbl/data.frame)
#> $ street_address: chr [1:24] "724 Baden Ave" "1707 Billups Ave" "3949 Potomac St" "1513 N 13th St" ...
#> $ year : num [1:24] 2018 2018 2018 2018 2018 ...
#> $ date : chr [1:24] "07/02/2018 22:00" "07/03/2018 17:34" "07/04/2018 23:45" "07/05/2018 00:20" ...
#> $ state : chr [1:24] "MO" "MO" "MO" "MO" ...
#> $ postal_code : logi [1:24] NA NA NA NA NA NA ...
#> $ city : chr [1:24] "St. Louis" "St. Louis" "St. Louis" "St. Louis" ...
head(stl_homicides_small)
#> # A tibble: 6 × 6
#> street_address year date state postal_code city
#> <chr> <dbl> <chr> <chr> <lgl> <chr>
#> 1 724 Baden Ave 2018 07/02/2018 22:00 MO NA St. Louis
#> 2 1707 Billups Ave 2018 07/03/2018 17:34 MO NA St. Louis
#> 3 3949 Potomac St 2018 07/04/2018 23:45 MO NA St. Louis
#> 4 1513 N 13th St 2018 07/05/2018 00:20 MO NA St. Louis
#> 5 4539 Carrie Ave 2018 07/05/2018 11:18 MO NA St. Louis
#> 6 4231 Natural Bridge Ave 2018 07/05/2018 19:44 MO NA St. Louis