The dataset utilized for analyzing and visualizing dog bite cases in New York City includes information on various factors such as sex, breed, and age. The data, covering the period from 2015 to 2022, were sourced from NYC OpenData. Data is collected from reports received online, mail, fax or by phone to 311 or NYC DOHMH Animal Bite Unit. Each record represents a single dog bite incident.
Another dataset used in this project documents active dog licenses in New York City for a given year. This data is derived from the DOHMH Dog Licensing System, which facilitates the application and renewal of dog licenses. The dataset is also sourced from NYC OpenData.
dog_bites =
read_csv("data/Dog_Bites_Data.csv")
dog_licensing =
read_csv("data/NYC_Dog_Licensing_Dataset.csv")
The dog bite dataset we utilized has 22663 observations and includes the following variables:
UniqueID
: Unique dog bite case identifier.DateOfBite
: Date bitten.Species
: Animal Type (Dog).Breed
: Breed type.Age
: Dog’s age at time of bite. Numbers with ‘M’
indicate months.Gender
: Sex of Dog. M=Male, F=Female, U=Unknown.SpayNeuter
: Surgical removal of dog’s reproductive
organs. True (reported to DOHMH as Spayed or Neutered), False (Unknown
or Not Spayed or Neutered).Borough
: Dog bite Borough. Other’ indicates that the
bite took place outside New York City.ZipCode
: Dog bite Zipcode. Blank ZipCode indicates that
information was not available.The NYC dog licensing dataset we utilized has 508196 observations and includes the following variables:
AnimalName
: User-provided dog name (unless specified
otherwise).AnimalGender
: M (Male) or F (Female) dog gender.AnimalBirthYear
: Year dog was born.BreedName
: Dog breed.ZipCode
: Owner zip code.LicenseIssuedDate
: Date the dog license was
issued.LicenseExpiredDate
: Date the dog license expires.Extract Year
: Year the data was extracted.