In Python. Will add the FBI_CrimeData_2016.json file. CPS141 Basic Data Science with Visualization Final Project Overview: This
Fantastic news! We've Found the answer you've been seeking!
Question:
In Python. Will add the FBI_CrimeData_2016.json file.
Transcribed Image Text:
CPS141 Basic Data Science with Visualization Final Project Overview: This final project is a basic data science project that uses much of the knowledge gained so far. You will also be introduced to data visualization using python modules. Description: You are to analyze FBI crime statistics for 2016. The data consists of crime statistics for each city (and the District of Columbia) itemized by type of crime. The data is in the json file FBI CrimeData_2016.json. Once the data in this file is loaded into a variable, the resultant data structure is a list where each element is a dictionary. Each dictionary consists of the following key-value pairs; Region: State: City: Population: Murder: Rape: Robbery: Assault: Burglary: Theft: The region in which the State is located. The values are Midwest, Northeast, South, and West. The State name including the District of Columbia. The city in which the crimes occurred. The city population. The number of murders that occurred in the city. The number of rapes that occurred in the city. The number of robberies that occurred in the city. The number of assaults that occurred in the city. The number of burglaries that occurred in the city. The number of thefts, exclusive of vehicle, that occurred in the city. Vehicle_Theft: The number of vehicle thefts that occurred in the city For purposes of the project, the crimes murder through assault are considered violent crimes. The remaining three categories are considered non-violent crimes. Objective: From the crime statistics data, you are to produce the following output: 1. A bar chart showing the number of "Murders by Region". 2. A bar chart showing the number of "Violent Crimes by Region". 3. A bar chart showing the number of "Non-violent Crimes by Region". 4. A report which is tabular list showing the total violent crimes for each State and the distance from the national mean. CPS141 Basic Data Science with Visualization Final Project Overview: This final project is a basic data science project that uses much of the knowledge gained so far. You will also be introduced to data visualization using python modules. Description: You are to analyze FBI crime statistics for 2016. The data consists of crime statistics for each city (and the District of Columbia) itemized by type of crime. The data is in the json file FBI CrimeData_2016.json. Once the data in this file is loaded into a variable, the resultant data structure is a list where each element is a dictionary. Each dictionary consists of the following key-value pairs; Region: State: City: Population: Murder: Rape: Robbery: Assault: Burglary: Theft: The region in which the State is located. The values are Midwest, Northeast, South, and West. The State name including the District of Columbia. The city in which the crimes occurred. The city population. The number of murders that occurred in the city. The number of rapes that occurred in the city. The number of robberies that occurred in the city. The number of assaults that occurred in the city. The number of burglaries that occurred in the city. The number of thefts, exclusive of vehicle, that occurred in the city. Vehicle_Theft: The number of vehicle thefts that occurred in the city For purposes of the project, the crimes murder through assault are considered violent crimes. The remaining three categories are considered non-violent crimes. Objective: From the crime statistics data, you are to produce the following output: 1. A bar chart showing the number of "Murders by Region". 2. A bar chart showing the number of "Violent Crimes by Region". 3. A bar chart showing the number of "Non-violent Crimes by Region". 4. A report which is tabular list showing the total violent crimes for each State and the distance from the national mean.
Expert Answer:
Related Book For
Auditing The Art And Science Of Assurance Engagements
ISBN: 9780136692089
15th Canadian Edition
Authors: Alvin A. Arens, Randal J. Elder, Mark S. Beasley, Chris E. Hogan, Joanne C. Jones
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
It was reported that 23% of U.S. adult cellphone owners called a friend for advice about a purchase while in a store. If a sample of 15 U.S adult cellphone owners is selected, what is the probability...
-
During 2013, Gary earned $57,000 as an executive. Gary, who is single, supported his half sister, who lives in a nursing home. Gary received the following interest: $400 on City of Los Angeles bonds,...
-
Determine the slope and the displacement at the end C of the beam. E = 200 GPa, I = 70 (10 6 ) mm 4 . Use the moment-area theorems. 8 kN 4 kN E3 m - 3 m -3 m
-
During the normal operating period, the deterioration of a machine usually a. decreases b. increases c. remains constant
-
The 21,000-seat Air East Arena houses the local professional ice hockey, basketball, indoor soccer, and arena football teams as well as various trade shows, wrestling and boxing matches, tractor...
-
what extent does organizational identification, characterized by a deep sense of belonging and emotional attachment, correlate with employee commitment and its impact on organizational performance...
-
The government reduces spending by $500 billion. Given the multiplier effect, how will GDP be impacted? It will increase by less than $500 billion. It will decrease by less than $500 billion. It will...
-
The discount rate is what is charged when banks borrow emergency funds from each other. True or False
-
Sweden, with its high taxes and widespread government programs, is a good example of a market economy. True or False
-
Which of the following is a determinant of demand? a. Technology changes b. Changes in income levels c. Price of substitute goods d. Price expectations
-
Profit is another word for revenue. True or False
-
Which of the following tracks the prices of goods and resources sellers use to create their products? a. GDP b. CPI c. PPI d. GNP
-
Read the dataset brand_ratings.csv into R. Construct a histogram plot (as below) using variable perform. Hints: you may need to (i.) adjust the binwidth; (ii.) adjust the aesthetical attributes fill...
-
A city maintains a solid waste landfill that was 12 percent filled at the end of Year 1 and 26 percent filled at the end of Year 2. During those periods, the government estimated that total closure...
-
Your client, Schroeder Manufacturing Co., provided the following schedule of property, plant, and equipment for the year ended June 30, 2020. Balances have been agreed to the general ledger. As part...
-
The cost of equipment repairs incurred by a construction company is recorded in the incorrect accounting period. Which accounts and assertions are relevant for this situation?
-
The following items were discovered during the December 31, 2020, audit of the financial statements of Westmoreland Corporation. 1. The companys financial statements did not include an accrual for...
-
A university is deciding between two meal plans. One plan charges a fixed fee of \($600\) per semester and allows students to eat as much as they want. The other plan charges a fee based on the...
-
Evaluate this statement: You are a natural athlete, an attractive person who learns easily and communicates well. Clearly, you can do everything better than your friends and acquaintances. As a...
-
You have waited 30 minutes in a line for the Star Tours ride at Disneyland. You see a sign that says, From this point on, your wait is 45 minutes. You must decide whether to remain in the line or to...
Study smarter with the SolutionInn App