pleasantonpd.data.socrata.com
Open data portalspleasantonpd.data.socrata.com
Socrata open data portal at pleasantonpd.data.socrata.com, publishing 5 public datasets from the publishing organisation.
Capabilities (5)
GET /v1/data/pleasantonpd-data-socrata-com/catalog-search1 creditKeyword search over the datasets published on pleasantonpd.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/pleasantonpd-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/pleasantonpd-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/pleasantonpd-data-socrata-com/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/pleasantonpd-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 pleasantonpd-data-socrata-com/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "Beats",
"id": "mcyb-f54d",
"resource_name": null,
"parent_fxf": [],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "dataset",
"updatedAt": "2020-06-23T19:19:29.000Z",
"createdAt": "2020-06-23T19:17:29.000Z",
"metadata_updated_at": "2020-06-23T19:19:29.000Z",
"data_updated_at": "2020-06-23T19:19:29.000Z",
"page_views": {
"page_views_last_week": 0,
"page_views_last_month": 3,
"page_views_total": 125,
"page_views_last_week_log": 0,
"page_views_last_month_log": 2,
"page_views_total_log": 6.977279923499917
},
"columns_name": [
"ID",
"District",
"the_geom"
],
"columns_field_name": [
"id",
"district",
"the_geom"
],
"columns_datatype": [
"Number",
"Number",
"MultiPolygon"
],
"columns_description": [
"",
"",
""
],
"columns_format": [
{},
{},
{}
],
"download_count": 28,
"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": "2020-06-23T19:19:29.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_tags": [],
"domain_metadata": []
},
"metadata": {
"domain": "pleasantonpd.data.socrata.com"
},
"permalink": "https://pleasantonpd.data.socrata.com/d/mcyb-f54d",
"link": "https://pleasantonpd.data.socrata.com/dataset/Beats/mcyb-f54d",
"owner": {
"id": "hn99-fusv",
"user_type": "interactive",
"display_name": "Robin Kremer"
},
"creator": {
"id": "hn99-fusv",
"user_type": "interactive",
"display_name": "Robin Kremer"
}
},
{
"resource": {
"name": "Points of Interest",
"id": "mv5n-2prs",
"resource_name": null,
"parent_fxf": [],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "dataset",
"updatedAt": "2020-11-02T20:31:45.000Z",
"createdAt": "2020-09-28T17:58:52.000Z",
"metadata_updated_at": "2020-11-02T20:31:44.000Z",
"data_updated_at": "2020-11-02T20:31:45.000Z",
"page_views": {
"page_views_last_week": 0,
"page_views_last_month": 0,
"page_views_total": 120,
"page_views_last_week_log": 0,
"page_views_last_month_log": 0,
"page_views_total_log": 6.9188632372745955
},
"columns_name": [
"Note",
"pocname",
"municipali",
"pocphone",
"operdays",
"agencytype",
"name",
"operhours",
"fulladdr",
"factSubtyp",
"… 7 more items"
],
"columns_field_name": [
"note",
"pocname",
"municipali",
"pocphone",
"operdays",
"agencytype",
"name",
"operhours",
"fulladdr",
"factsubtyp",
"… 7 more items"
],
"columns_datatype": [
"Text",
"Text",
"Text",
"Text",
"Text",
"Text",
"Text",
"Text",
"Text",
"Text",
"… 7 more items"
],
"columns_description": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
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 pleasantonpd.data.socrata.com (pleasantonpd-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 "pleasantonpd-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 pleasantonpd.data.socrata.com (pleasantonpd-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=mv5n-2prs. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "pleasantonpd-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 pleasantonpd.data.socrata.com (pleasantonpd-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 "pleasantonpd-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 pleasantonpd.data.socrata.com (pleasantonpd-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=mv5n-2prs. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "pleasantonpd-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://pleasantonpd.data.socrata.com/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: pleasantonpd.data.socrata.com. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
