name: state-county-rankings description: This skill should be used when users need ranked county-level demographic metrics within a state from a local CSV file, such as income, population, poverty, or rent.
State County Rankings
Use this skill to rank counties within a state for one or more metrics from a local dataset.
Requirements
- R with
dplyr,tidyr,readr,stringr, andjsonlite - Local CSV input with
county, a state column (state,state_name, orstate_abbrev), and requested metric columns - Bundled Census CSV for immediate use:
skills/state-county-rankings/data/county_demographics_acs5_2023.csv - No API key required
Standard Workflow
- Confirm input CSV path and state.
--stateaccepts full names or USPS abbreviations (for example,GeorgiaorGA).- Default bundled input:
skills/state-county-rankings/data/county_demographics_acs5_2023.csv
- Review
skills/state-county-rankings/references/COLUMN_REQUIREMENTS.mdand use exact output headers before downstream filtering/selecting.- Output columns are
state,county,metric,value,rank, anddirection.
- Output columns are
- Ask for metrics (or use defaults) and ranking direction.
- Run:
Rscript skills/state-county-rankings/scripts/get_state_county_rankings.R --input skills/state-county-rankings/data/county_demographics_acs5_2023.csv --state "<state>"
- Return top/bottom county rankings and note missing/invalid fields.
Output
Return ranked rows with:
statecountymetricvaluerankdirection
Skills similaires
Ingénierie de Prompts
Data & IA
Bonnes pratiques et templates de prompt engineering pour maximiser les résultats IA.
claudeCursorWindsurf+1beginner
289
78
852
Visualisation de Données
Data & IA
Génère des visualisations de données et graphiques adaptés à vos données.
claudeCursorWindsurfintermediate
198
56
683
Architecture RAG
Data & IA
Guide de configuration d'architectures RAG (Retrieval-Augmented Generation).
claudeCursorWindsurfadvanced
167
51
645