data.macoupincountyil.gov
Open data portalsUSdata.macoupincountyil.gov
Socrata open data portal at data.macoupincountyil.gov, publishing 61 public datasets from the publishing organisation, led by the County Board Records category.
Capabilities (5)
GET /v1/data/data-macoupincountyil-gov/catalog-search1 creditKeyword search over the datasets published on data.macoupincountyil.gov: 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/data-macoupincountyil-gov/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/data-macoupincountyil-gov/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/data-macoupincountyil-gov/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/data-macoupincountyil-gov/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 data-macoupincountyil-gov/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "2020 Census Figures for Macoupin County",
"id": "kea8-zryk",
"resource_name": null,
"parent_fxf": [],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "dataset",
"updatedAt": "2021-08-20T20:30:09.000Z",
"createdAt": "2021-08-20T20:28:06.000Z",
"metadata_updated_at": "2021-08-20T20:30:09.000Z",
"data_updated_at": "2021-08-20T20:30:03.000Z",
"page_views": {
"page_views_last_week": 54,
"page_views_last_month": 266,
"page_views_total": 20355,
"page_views_last_week_log": 5.78135971352466,
"page_views_last_month_log": 8.060695931687555,
"page_views_total_log": 14.3131664759772
},
"columns_name": [
"Percent Change",
"Change",
"2020 Census",
"Type of Distict",
"Census ID Number",
"District Name",
"2010 Census"
],
"columns_field_name": [
"percent_change",
"change",
"_2020_census",
"type_of_distict",
"census_id_number",
"district_name",
"_2010_census"
],
"columns_datatype": [
"Number",
"Number",
"Number",
"Text",
"Text",
"Text",
"Number"
],
"columns_description": [
"",
"",
"",
"",
"",
"",
""
],
"columns_format": [
{
"precisionStyle": "percentage",
"percentScale": "1"
},
{},
{},
{},
{},
{},
{}
],
"download_count": 1663,
"provenance": "official",
"lens_view_type": "tabular",
"lens_display_type": "table",
"locked": false,
"backend": "nbe",
"blob_mime_type": null,
"hide_from_data_json": false,
"publication_date": "2021-08-20T20:30:08.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_category": "Community",
"domain_tags": [
"population",
"census"
],
"domain_metadata": []
},
"metadata": {
"domain": "data.macoupincountyil.gov"
},
"permalink": "https://data.macoupincountyil.gov/d/kea8-zryk",
"link": "https://data.macoupincountyil.gov/Community/2020-Census-Figures-for-Macoupin-County/kea8-zryk",
"owner": {
"id": "taqh-c98f",
"user_type": "interactive",
"display_name": "PeteDuncan"
},
"creator": {
"id": "taqh-c98f",
"user_type": "interactive",
"display_name": "PeteDuncan"
}
},
{
"resource": {
"name": "Plats & Surveys",
"id": "7wbj-hm5p",
"resource_name": null,
"parent_fxf": [],
"description": "All County plats and surveys recorded before 2008 are linked in this dataset.",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "dataset",
"updatedAt": "2016-06-28T20:37:01.000Z",
"createdAt": "2016-04-19T02:21:10.000Z",
"metadata_updated_at": "2016-06-28T20:37:01.000Z",
"data_updated_at": "2016-06-28T20:07:36.000Z",
"page_views": {
"page_views_last_week": 9,
"page_views_last_month": 73,
"page_views_total": 15788,
"page_views_last_week_log": 3.3219280948873626,
"page_views_last_month_log": 6.209453365628951,
"page_views_total_log": 13.94663218021393
},
"columns_name": [
"Legal & Despcription",
"Subtype",
"Type",
"Link"
],
"columns_field_name": [
"legal_despcriptAsk with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Catalogue search
Use data.macoupincountyil.gov (data-macoupincountyil-gov) 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 "data-macoupincountyil-gov" 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 data.macoupincountyil.gov (data-macoupincountyil-gov) 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=xqdw-us6u. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-macoupincountyil-gov" 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 data.macoupincountyil.gov (data-macoupincountyil-gov) 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 "data-macoupincountyil-gov" 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 data.macoupincountyil.gov (data-macoupincountyil-gov) 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=xqdw-us6u. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-macoupincountyil-gov" 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
No licence is declared in the dataset metadata this portal exposes through its catalogue API. No reuse grant is made here: commercial use and redistribution are recorded as false and no rights are claimed over the upstream data.
https://data.macoupincountyil.gov/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: data.macoupincountyil.gov. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
