incidents {RgoogleMaps}R Documentation

San Francisco crime data

Description

The incidents data frame has 5000 rows and 16 columns. These are 5000 random rows from the 2012 crime data recorded in San Francisco.

Usage

data(incidents)

Format

This data frame contains the following columns:

IncidntNum

incident number assigned by the police

Category

Category of crime

Descript

longer description

DayOfWeek

day of week

Date

date

Time

time of day formatted as hh:mm

PdDistrict

police district

Resolution

was the crime resolved?

Location

location as address

lon

longitude

lat

latitude

violent

violent flag

HrOfDay

hour of day as 2-digit integer

TimeOfDay

hour of day as decimal number

HourOfWeek

hour of week as decimal number between 0-168

censusBlock

ID of census block

Details

crime data recorded in San Francisco

Source

URL https://data.sfgov.org/

Examples

data(incidents)
table(incidents$Category)


[Package RgoogleMaps version 1.5.1 Index]