- Home
- Skills
- Research & Analysis
- Survey CSV Quality Check Before Analysis
Survey CSV Quality Check Before Analysis
by ke shu
Raw survey exports often contain hidden data quality issues that break SPSS, R, or Python analysis pipelines.
Free
Survey CSV Quality Check Before Analysis
Example session with this skill installed
Audit survey_data.csv. It is a 1-5 Likert scale for columns q1 through q10. Participant ID is in the 'uid' column. Use default sentinel codes.
- Read your context and instructions
- Compiled the survey csv quality
- Generated the data export
I have completed the quality audit for survey_data.csv. The analysis was performed in read-only mode, and no data has been modified.
Survey Data Audit Report
Audit Status: OK
File Summary: 450 rows, 12 columns detected.
Items: q1, q2, q3, q4, q5, q6, q7, q8, q9, q10
Scale: 1-5
Sentinels: 9, 99, 999, -1
Issue Checklist
| Level | Type | Column | Count | Description | Sample Rows |
|---|---|---|---|---|---|
| CRITICAL | Out-of-Range | q4 | 3 | Found values (6, 7) exceeding scale 1-5 | 102, 215 |
| CRITICAL | Duplicate ID | uid | 2 | ID 'A992' appears twice | 45, 46 |
| WARNING | Sentinel Code | q1, q7 | 12 | Value '99' detected (Potential missing data) | 12, 88, 150 |
| WARNING | Straight-lining | ALL | 5 | Constant values across all 10 items | 301, 305 |
| WARNING | Full-width | q3 | 1 | Full-width digit '5' detected | 192 |
Per-Item Statistics
| Item | Valid | Null | Sentinel | Out-of-Range | Full-width |
|---|---|---|---|---|---|
| q1 | 442 | 2 | 6 | 0 | 0 |
| q2 | 450 | 0 | 0 | 0 | 0 |
| q3 | 449 | 0 | 0 | 0 | 1 |
| q4 | 447 | 0 | 0 | 3 | 0 |
Next steps
- Inspect rows 102 and 215 to determine if out-of-range values were entry errors.
- Confirm if sentinel code '99' should be converted to System Missing (NaN) before SPSS import.
- Review straight-lined responses in rows 301-305 for potential exclusion.
survey_data.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Raw survey exports often contain hidden data quality issues that break SPSS, R, or Python analysis pipelines. This skill performs a pre-analysis audit on Likert-scale CSV files to catch placeholder codes, range violations, and response patterns that standard data loaders miss.
What it does
- Detects placeholder codes such as 9, 99, or -1 that might be incorrectly treated as valid numerical data.
- Validates scale ranges by identifying responses that fall outside your defined 1-5 or 0-7 Likert boundaries.
- Identifies straight-lining where respondents provide identical values across all items, suggesting low-effort input.
- Flags encoding issues specifically full-width digits and non-numeric text in expected quantitative columns.
- Audits duplicates by checking for both identical row content and recurring participant IDs.
How it works
- Supply your dataset and specify the Likert scale range (e.g., 1-5) and the item columns to be audited.
- The skill runs a read-only Python audit using standard libraries to scan for structural and semantic anomalies.
- It cross-references findings against a built-in rulebook for missing thresholds and sentinel code logic.
- You receive a structured Markdown report detailing errors, warnings, and item-by-item statistics without modifying your original file.
Frameworks & tools
Python 3.8+ (standard library), CSV/TSV formats, UTF-8 encoding.
Why this beats prompting it yourself
Generic LLMs often struggle with large CSV files or hallucinate data summaries. This skill uses a deterministic Python script to ensure 100% accuracy in counts and row references while using the LLM to interpret the findings and suggest human-in-the-loop corrections.
Use cases
- Pre-SPSS cleanup to ensure sentinel codes are handled before importing data.
- Academic research validation to catch low-quality "straight-lined" survey responses.
- Data pipeline debugging to find why a CSV is failing numerical type casting.
Known limitations
Does not perform statistical modeling or text coding for open-ended questions. Only processes CSV/TSV files up to 20MB and requires explicit scale ranges to function.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 10 days ago
- Free with an Agensi account
Read-only audit: no data is deleted, recoded or overwritten. Confirms scale range and sentinel coding with the researcher before drawing conclusions.
Permissions
What's inside
Creator
ke shu
Frequently Asked Questions
New in Research & Analysis
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.