City of Lethbridge Open Data
/install lethbridge-opendata
City of Lethbridge Open Data
Access and analyze 123+ open datasets from the City of Lethbridge via ArcGIS Hub. Data covers transit, infrastructure, elections, environment, tourism, and more.
Portal: https://opendata.lethbridge.ca Platform: ArcGIS Hub
Quick Start
# Search for datasets
python3 scripts/lethbridge_data.py search "traffic"
# List all datasets
python3 scripts/lethbridge_data.py list
# View dataset info
python3 scripts/lethbridge_data.py info "Traffic Counts"
# Fetch data from ArcGIS feature service
python3 scripts/lethbridge_data.py fetch "Traffic Counts" --limit 5
# Fetch with field filter
python3 scripts/lethbridge_data.py fetch "Intersection Safety Devices" --limit 10 --format json
# Export as CSV
python3 scripts/lethbridge_data.py fetch "City Boundary" --csv
# List all datasets with download links
python3 scripts/lethbridge_data.py downloads
Commands Reference
| Command | Description |
|---|---|
search \x3Cquery> |
Search datasets by keyword |
list |
List all datasets |
info \x3Cname-or-id> |
Show dataset metadata and data source |
fetch \x3Cname-or-id> |
Fetch data (opts: --limit, --format json/csv, --csv) |
downloads |
List datasets with direct file download URLs |
Data Sources
Lethbridge datasets come in three types:
- ArcGIS Feature Services — Queryable geospatial data (parks, streets, boundaries)
- ArcGIS Map Services — Read-only map layers
- Document Links — Direct file downloads (Excel, CSV, PDF)
The CLI auto-detects the source type and uses the appropriate method.
ArcGIS REST API
Geospatial datasets use the ArcGIS REST query API:
- Endpoint:
https://gis.lethbridge.ca/gisopendata/rest/services/OpenData/ - Supports
where,outFields,resultRecordCount,f(json/geojson) parameters - Max 2000 records per query
Data Sources
All data is sourced from the City of Lethbridge's Open Data Portal (opendata.lethbridge.ca). See references/datasets.md for a curated list of popular datasets.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lethbridge-opendata - 安装完成后,直接呼叫该 Skill 的名称或使用
/lethbridge-opendata触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
City of Lethbridge Open Data 是什么?
Access 123+ datasets from the City of Lethbridge open data portal. Search, fetch, and analyze city data on transit, infrastructure, elections, environment, a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。
如何安装 City of Lethbridge Open Data?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lethbridge-opendata」即可一键安装,无需额外配置。
City of Lethbridge Open Data 是免费的吗?
是的,City of Lethbridge Open Data 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
City of Lethbridge Open Data 支持哪些平台?
City of Lethbridge Open Data 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 City of Lethbridge Open Data?
由 Ray Chan, PMP(@raychanpmp)开发并维护,当前版本 v1.0.1。