Install
openclaw skills install lethbridge-opendataAccess 123+ datasets from the City of Lethbridge open data portal. Search, fetch, and analyze city data on transit, infrastructure, elections, environment, and more via ArcGIS Hub.
openclaw skills install lethbridge-opendataAccess 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
# 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
| Command | Description |
|---|---|
search <query> | Search datasets by keyword |
list | List all datasets |
info <name-or-id> | Show dataset metadata and data source |
fetch <name-or-id> | Fetch data (opts: --limit, --format json/csv, --csv) |
downloads | List datasets with direct file download URLs |
Lethbridge datasets come in three types:
The CLI auto-detects the source type and uses the appropriate method.
Geospatial datasets use the ArcGIS REST query API:
https://gis.lethbridge.ca/gisopendata/rest/services/OpenData/where, outFields, resultRecordCount, f (json/geojson) parametersAll 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.