How does the Object table and JSON output of crime stats API of Crimeometer work?

In this article, we will talk about the object table and JSON output of Crimeometer's crime stats API. Specifically, I will explain the structure and contents of the object table and the format of the JSON output, as well as any relevant details or considerations for working with these data types.

Object Table

ObjectsDescription
population_countTotal population for the given input parameters
incidents_countTotal crime incidents for the given input parameters
incidents_typesAll different crime types for the given input parameters
incident_typeCriminal activity
incident_type_countTotal number of the said criminal activity within the given time window
incident_type_ratioTotal crime incidents for the specific crime type normalized per 1,000 population
incident_types_ratioTotal crime incidents normalized per 1,000 population
csi"incident_type_ratio" normalized in a 0-100 scale (0 is lowest and 100 is highest crime risk)
  1. population_count: This object represents the total population for the specified input parameters.

  2. incidents_count: This object represents the total number of crime incidents for the specified input parameters.

  3. incidents_types: This object is a list of all the different types of crimes that have occurred within the specified input parameters.

  4. incident_type: This object represents a specific type of criminal activity.

  5. incident_type_count: This object represents the total number of instances of a specific type of criminal activity that have occurred within the specified time window.

  6. incident_type_ratio: This object represents the total number of instances of a specific type of criminal activity per 1,000 population. This allows for comparison of crime rates between different areas with different population sizes.

  7. incident_types_ratio: This object represents the total number of all crime incidents per 1,000 population. This allows for comparison of overall crime rates between different areas with different population sizes.

  8. csi: This object represents the "incident_type_ratio" normalized on a scale from 0 to 100, where 0 represents the lowest risk of crime and 100 represents the highest risk of crime.

The information in the table is useful for understanding and analyzing crime trends and patterns. The population_count and incidents_count objects provide a baseline for understanding the overall scale of criminal activity in a given area. The incidents_types object allows for the identification of specific types of crimes that are more or less prevalent in the area. The incident_type_count, incident_type_ratio, and incident_types_ratio objects allow for the comparison of the frequency and prevalence of different types of crimes and overall crime rates between different areas and over time. The csi object provides a standardized and easily comparable measure of crime risk. All of this information can be used to inform crime prevention and intervention efforts.

JSON Output

This JSON output contains data on crime incidents in a given area. The population_count object indicates that the population of the area is 38,484. The incidents_count object indicates that there have been 49 total instances of crime in the area. The incidents_types object is a list of objects, each containing data on a specific type of crime. The incident_type object specifies the type of crime, the incident_type_count object indicates the number of instances of that type of crime that have occurred, and the incident_type_ratio object indicates the number of instances of that type of crime per 1,000 population. The incidents_types_ratio object indicates the total number of all crime incidents per 1,000 population, and the csi object provides a standardized measure of crime risk on a scale from 0 to 100.

{
"population_count": 38484,
"incidents_count": 49,
"incidents_types": [
{
"incident_type": "Theft From Motor Vehicle",
"incident_type_count": 18,
"incident_type_ratio": 24.39
},
{
"incident_type": "Destruction/Damage/Vandalism of Property",
"incident_type_count": 3,
"incident_type_ratio": 4.06
},
{
"incident_type": "Motor Vehicle Theft",
"incident_type_count": 3,
"incident_type_ratio": 4.06
},
{
"incident_type": "Aggravated Assault",
"incident_type_count": 2,
"incident_type_ratio": 2.71
},
{
"incident_type": "Burglary/Breaking & Entering",
"incident_type_count": 2,
"incident_type_ratio": 2.71
},
{
"incident_type": "Theft of Motor Vehicle Parts or Accessories",
"incident_type_count": 2,
"incident_type_ratio": 2.71
},
{
"incident_type": "Arson",
"incident_type_count": 1,
"incident_type_ratio": 1.35
},
{
"incident_type": "Robbery",
"incident_type_count": 1,
"incident_type_ratio": 1.35
},
{
"incident_type": "Simple Assault",
"incident_type_count": 1,
"incident_type_ratio": 1.35
},
{
"incident_type": "Suspicious Activity/All Other",
"incident_type_count": 1,
"incident_type_ratio": 1.35
}
],
"incidents_types_ratio": 66.39,
"csi": 51.07
}

Finishing

In summary, we have mentioned the object table and JSON output of Crimeometer's crime stats API, including the structure and contents of the object table and the format of the JSON output. We have also described the usefulness of the data contained in these outputs for understanding and analyzing crime trends and patterns, and for informing crime prevention and intervention efforts.

Source

To access the Crimeometer crime stats API, you can request access through the third party data marketplace of Worldindata. Worldindata offers a wide range of data sets and APIs from various sources, including Crimeometer's crime stats API. By making a request through Worldindata, you can gain access to the API and its data for your own use and analysis. Please note that access to the API and its data may be subject to certain terms and conditions and fees, as determined by Crimeometer and Worldindata.