Export Image
Export Code

Loading and Parsing UScrime Data

Ruofan Chen

Last edited Sep 27, 2021
Created on Sep 07, 2021

Data

A program that loads and parses UScrime data. This data is collected from FBI's website. This data records all crimes reported to FBI from 2015 to 2019.

Data structure:

  • year (quantitative): the year the crime was reported
  • state (categorical): reported crime location
  • area (categorical): which area the crime belongs to (Metropolitan Statistical Area,Cities outside metropolitan areas,Nonmetropolitan counties,state total)
  • population (quantitative): the population of the state
  • crime_type (categorical): which type of crime
  • number (quantitative): number of crime

Question:

  • How has the number of crimes changed over time?
  • For a specific type of crime, which area occurs most often?
  • Is the number of crimes relevant in terms of location?
MIT Licensed