Skip to content
Back to skills

Raleigh

ASecurity

Query, search, and download public datasets from the City of Raleigh Open Data portal. Use this whenever someone wants to explore city data — crime reports, food inspections, building permits, bike lanes, parks, zoning, traffic, budgets, or any of 200+ public datasets.

  • 36 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 10, 2026
ai-agentsgobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add theheavenlyd3mon/hermes-profiles --skill raleigh --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Raleigh?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Raleigh
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/theheavenlyd3mon-raleigh/badge)](https://www.skillsdirectory.com/skills/theheavenlyd3mon-raleigh)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: raleigh
description: >-
  Query, search, and download public datasets from the City of Raleigh Open Data
  portal. Use this whenever someone wants to explore city data — crime reports,
  food inspections, building permits, bike lanes, parks, zoning, traffic,
  budgets, or any of 200+ public datasets.
license: MIT
metadata:
  source: https://data.raleighnc.gov
  author: Jasper
  datasets: "198+"
---

# Raleigh Open Data

A CLI tool for the City of Raleigh's open data portal (data.raleighnc.gov). Wraps the ArcGIS REST API to discover, query, and download from 200+ public datasets — all read-only, no API key needed.

## Quick Start

```bash
# List all datasets
raleigh catalog

# Search for specific data
raleigh search "food inspection"

# Show a dataset's schema
raleigh info "Food Inspections"

# Query records with filters
raleigh query "Food Inspections" --where "SCORE < 70"

# Download a dataset
raleigh download "Raleigh Dog Parks" -f csv -o dog_parks.csv
```

## Commands

| Command | Purpose | Example |
|---------|---------|---------|
| `catalog` | List all datasets | `raleigh catalog --category Transportation` |
| `search` | Search datasets by keyword | `raleigh search "building permit" --limit 5` |
| `info` | Show dataset schema + sample | `raleigh info "Raleigh Dog Parks"` |
| `query` | Query records with filters | `raleigh query "Food Inspections" --where "SCORE<70" --limit 20` |
| `download` | Export to a file | `raleigh download "Parcels" -f geojson -o parcels.geojson` |
| `categories` | List data categories | `raleigh categories` |

## Global Flags

| Flag | Effect |
|------|--------|
| `--json` | JSON output instead of table |
| `--csv` | CSV output |
| `--quiet` | Suppress extra messages |
| `--server URL` | Override API server |

## References

| Reference | Load when | File |
|-----------|-----------|------|
| Full dataset catalog | Browsing what's available | `references/dataset-catalog.md` |
| API reference | Building custom queries or using the API directly | `references/api-reference.md` |

## Pitfalls

- **Date values** from ArcGIS are Unix timestamps in milliseconds. Divide by 1000 for standard timestamps.
- **MapServer Table layers** have no geometry (`type: "Table"`). Always use `returnGeometry=false`.
- **String values in WHERE** must use single quotes: `WHERE NAME='Millbrook-Exchange'`
- **Rate limits** are undocumented but generous. Add `--limit` to keep queries responsive.
- **Some datasets** have multiple layers (e.g., Building Permits exists on both Raleigh and Wake County servers). The CLI picks the best match or lists options.

Files in this skill

  • SKILL.md2.6 KB
  • references/api-reference.md4.8 KB
  • references/dataset-catalog.md18.9 KB
  • scripts/raleigh80.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…