clatsop.data.socrata.com
Open data portalsclatsop.data.socrata.com
Socrata open data portal at clatsop.data.socrata.com, publishing 8 public datasets from the publishing organisation.
Capabilities (5)
GET /v1/data/clatsop-data-socrata-com/catalog-search1 creditKeyword search over the datasets published on clatsop.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/clatsop-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/clatsop-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/clatsop-data-socrata-com/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/clatsop-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 clatsop-data-socrata-com/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "Revenue Budget",
"id": "rggr-t9x6",
"resource_name": null,
"parent_fxf": [],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "dataset",
"updatedAt": "2020-02-03T23:57:55.000Z",
"createdAt": "2015-10-05T17:30:19.000Z",
"metadata_updated_at": "2020-02-03T23:57:54.000Z",
"data_updated_at": "2020-02-03T23:57:55.000Z",
"page_views": {
"page_views_last_week": 2,
"page_views_last_month": 7,
"page_views_total": 127693,
"page_views_last_week_log": 1.5849625007211563,
"page_views_last_month_log": 3,
"page_views_total_log": 16.962331212683345
},
"columns_name": [
"Description",
"Fund",
"Organization",
"Fiscal Year",
"Estimated Revenue",
"Account",
"Category",
"Functional Area"
],
"columns_field_name": [
"description",
"fund",
"organization",
"fiscal_year",
"estimated_revenue",
"account",
"category",
"functional_area"
],
"columns_datatype": [
"Text",
"Text",
"Text",
"Number",
"Number",
"Text",
"Text",
"Text"
],
"columns_description": [
"",
"",
"",
"",
"",
"",
"",
""
],
"columns_format": [
{},
{},
{},
{
"precisionStyle": "standard",
"noCommas": "true",
"align": "left"
},
{},
{},
{},
{}
],
"download_count": 1314,
"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": "2018-07-20T20:30:52.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_tags": [],
"domain_metadata": []
},
"metadata": {
"domain": "clatsop.data.socrata.com"
},
"permalink": "https://clatsop.data.socrata.com/d/rggr-t9x6",
"link": "https://clatsop.data.socrata.com/dataset/Revenue-Budget/rggr-t9x6",
"owner": {
"id": "7krv-k7t3",
"user_type": "interactive",
"display_name": "Alicia Brown"
},
"creator": {
"id": "7krv-k7t3",
"user_type": "interactive",
"display_name": "Alicia Brown"
}
},
{
"resource": {
"name": "Operating Budget",
"id": "xz5z-yryd",
"resource_name": null,
"parent_fxf": [],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "dataset",
"updatedAt": "2020-02-01T01:08:21.000Z",
"createdAt": "2015-09-30T16:43:50.000Z",
"metadata_updated_at": "2020-02-01T01:08:20.000Z",
"data_updated_at": "2020-02-01T01:08:21.000Z",
"page_views": {
"page_views_last_week": 5,
"page_views_last_month": 9,
"page_views_total": 123997,
"page_views_last_week_log": 2.584962500721156,
"page_views_last_month_log": 3.3219280948873626,
"page_views_total_log": 16.919957325586452
},
"columns_name": [
"Original Budget",
"Account",
"Category",
"Current Budget",
"Organization",
"Functional Area",
"Fund",
"Fiscal Year",
"Description"
],
"columns_field_name": [
"original_budget",
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Catalogue search
Use clatsop.data.socrata.com (clatsop-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 "clatsop-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 clatsop.data.socrata.com (clatsop-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=7irg-jc9h. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "clatsop-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 clatsop.data.socrata.com (clatsop-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 "clatsop-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 clatsop.data.socrata.com (clatsop-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=7irg-jc9h. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "clatsop-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
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://clatsop.data.socrata.com/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: clatsop.data.socrata.com. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
