cs361 CrimeTracker microservice which reads .json file and displays a summary results from the users' US State and Type of Crime filter selections.
Partner will be making his project of a selected location so planning to integrate the two together.
CS361 - Spring 2023 campbeb3 Group32 - Microsevice
Data is sourced from the 2019 FBI Crime Statistics website: https://ucr.fbi.gov/crime-in-the-u.s/2019/crime-in-the-u.s.-2019JSON Source: https://corgis-edu.github.io/corgis/json/state_crime/
Microservice Website location (JSON data output for partner to GET):
http://flip2.engr.oregonstate.edu:54544/
http://flip2.engr.oregonstate.edu:54544/state_crime
My Project Website location:
http://flip2.engr.oregonstate.edu:54555/
All 50 states are listed as JSON Keys using "State" as primary key and full name of state ie. "Oregon"
The keys to referene type of crime are under "Rates" or "Totals":
Example for using "Totals" key:
"Data.Totals.Property" (for property crimes)
"Data.Totals.Violent" (for violent crimes).
The variables for violent crimes are: "All", "Assault", "Murder", "Rape", "Robbery"
The variables for property crimes are: "All", "Burglary", "Larceny", "Motor"
Partner can access Microservice to get JSON data from: http://flip2.engr.oregonstate.edu:54544/state_crime
Example JSON data for Oregon: {"State":"Oregon","Year":2019,"Data":{"Population":4217737,"Rates":{"Property":{"All":2730.6,"Burglary":349.1,"Larceny":2021.5,"Motor":360},"Violent":{"All":284.4,"Assault":185.5,"Murder":2.8,"Rape":42.2,"Robbery":54}},"Totals":{"Property":{"All":115170,"Burglary":14724,"Larceny":85261,"Motor":15185},"Violent":{"All":11995,"Assault":7825,"Murder":116,"Rape":1778,"Robbery":2276}}}},