celebratingcities.data.socrata.com
Open data portalscelebratingcities.data.socrata.com
Socrata open data portal at celebratingcities.data.socrata.com, publishing 140 public datasets from the publishing organisation, led by the HUD category.
Capabilities (5)
GET /v1/data/celebratingcities-data-socrata-com/catalog-search1 creditKeyword search over the datasets published on celebratingcities.data.socrata.com: each hit carries the dataset id, name, description, attribution, category, tags, column names and last update time, plus the total match count.
GET /v1/data/celebratingcities-data-socrata-com/dataset1 creditThe complete metadata document for one dataset: name, description, attribution, licence, category, tags, all column definitions with data types, and the table id used for queries.
GET /v1/data/celebratingcities-data-socrata-com/datasets1 creditA page of the portal's own dataset records (id, name, description, category, attribution, creation and update timestamps, view count) without the full column metadata.
GET /v1/data/celebratingcities-data-socrata-com/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/celebratingcities-data-socrata-com/rows1 creditThe first 100 rows of a dataset as JSON objects keyed by field name. Column names are the API field names, so they can be used directly in a later SoQL query.
Response example
The shape of data from celebratingcities-data-socrata-com/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "Location Affordability Index (Baltimore-Washington Metro Area)",
"id": "tui2-mz82",
"resource_name": null,
"parent_fxf": [
"ypa6-339b"
],
"description": "The Location Affordability Index (LAI) consists of estimates of the combined household and transportation costs. The LAI is calculated at the Census block-group level (block groups contain 600 to 3,000 residents each) for each of the 942 Core Based Statistical Areas and at the county level for non-metropolitan counties using statistical regression modeling.",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "map",
"updatedAt": "2024-04-24T18:24:26.000Z",
"createdAt": "2016-02-22T00:09:52.000Z",
"metadata_updated_at": "2024-04-24T18:24:26.000Z",
"data_updated_at": "2016-02-22T00:16:37.000Z",
"page_views": {
"page_views_last_week": 9,
"page_views_last_month": 18,
"page_views_total": 59235,
"page_views_last_week_log": 3.3219280948873626,
"page_views_last_month_log": 4.247927513443585,
"page_views_total_log": 15.854186603312613
},
"columns_name": [],
"columns_field_name": [],
"columns_datatype": [],
"columns_description": [],
"columns_format": [],
"download_count": 17,
"provenance": "official",
"lens_view_type": "tabular",
"lens_display_type": "visualization_canvas_map",
"locked": false,
"backend": "nbe",
"blob_mime_type": null,
"hide_from_data_json": false,
"publication_date": "2016-02-22T00:16:37.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_category": "HUD",
"domain_tags": [
"dot",
"u.s. environmental protection agency",
"u.s. department of transportation",
"u.s. department of housing and urban development",
"u.s. census bureau",
"location affordability index",
"hud",
"epa",
"cost of living",
"census"
],
"domain_metadata": []
},
"metadata": {
"domain": "celebratingcities.data.socrata.com"
},
"permalink": "https://celebratingcities.data.socrata.com/d/tui2-mz82",
"link": "https://celebratingcities.data.socrata.com/HUD/Location-Affordability-Index-Baltimore-Washington-/tui2-mz82",
"preview_image_url": "https://celebratingcities.data.socrata.com/views/tui2-mz82/files/892ad94c-da18-4494-8d8d-a90cd4d9d9d0",
"owner": {
"id": "etms-6p6v",
"user_type": "interactive",
"display_name": "shy_shy"
},
"creator": {
"id": "etms-6p6v",
"user_type": "interactive",
"display_name": "shy_shy"
}
},
{
"resource": {
"name": "Environmental Justice Indices",
"id": "59xh-acqh",
"resource_name": null,
"parent_fxf": [
"mi4f-h2fw"
],
"description": "The EPA calculates 12 Environmental Justice Indices based on a combination of environmental and demographic information. An EJ Index combines demographic factors with a single environmental variable. The EJ Index is higher in block groups with large numbers of mainly low-income and/or minority residents with a higher environmental indicator value.The higher the percentile, the higher the block group ranks compared to other block groups for any given index.",
"attribution": "U.S. Environmental Protection Agency",
"attribution_link": "http://www.epa.gov/ejscreen",
"contact_email": null,
"type": "map",
"updatedAt": "2024-04-24T18:24:13.000Z",
"createdAt": "2016-02-24T05:47:34.000Z",
"metadata_updated_at": "2024-04-24T18:24:13.000Z",
"data_updated_at": "2016Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Catalogue search
Use celebratingcities.data.socrata.com (celebratingcities-data-socrata-com) from fastCRW Pergamon, capability "Catalogue search" (catalog-search). You want to find a dataset on this portal by keyword and do not know its four-by-four id. Example options: q=taxi, offset=0, order=page_views_total DESC. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "celebratingcities-data-socrata-com" and capability "catalog-search". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset metadata
Use celebratingcities.data.socrata.com (celebratingcities-data-socrata-com) from fastCRW Pergamon, capability "Dataset metadata" (dataset). You already hold a dataset id and need its columns, licence or description before querying rows. Example options: id=ct92-uh2e. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "celebratingcities-data-socrata-com" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset inventory
Use celebratingcities.data.socrata.com (celebratingcities-data-socrata-com) from fastCRW Pergamon, capability "Dataset inventory" (datasets). You need to enumerate what this portal publishes, or page through its newest datasets. Example options: offset=0, order=createdAt, category=Transportation. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "celebratingcities-data-socrata-com" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Row count
Use celebratingcities.data.socrata.com (celebratingcities-data-socrata-com) from fastCRW Pergamon, capability "Row count" (row-count). You need to know how large a dataset is before downloading it, or want a cheap liveness check. Example options: id=ct92-uh2e. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "celebratingcities-data-socrata-com" and capability "row-count". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Licence
Datasets on this portal declare the licence "Public Domain" in their Socrata metadata; the portal publishes no separate API licence and different datasets may carry different terms. Quoted as found in the portal's own catalogue.
https://celebratingcities.data.socrata.com/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: celebratingcities.data.socrata.com. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
