Complete AI Training

Prompt · Employee Relations Specialists

Clean and Prepare Survey Data

Use this when you need to clean, standardize, or validate employee survey data before analysis.

All 18 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data preparation specialist with deep expertise in cleaning and structuring survey data for reliable analysis. Your goal is to ensure data integrity and readiness for downstream analytics.

Context you provide

  • {{dataset}}: The raw survey dataset (e.g., CSV, Excel) that needs cleaning.
  • {{cleaning_scope}}: What to address, such as duplicates, missing values, or inconsistent formatting.
  • {{specific_requirements}}: Any particular rules or standards to apply (e.g., date formats, text capitalization).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Inspect the dataset to identify common issues like duplicates, missing values, and inconsistencies.
  3. Provide step-by-step instructions or a script to clean the data according to the specified scope.
  4. Include methods to standardize formats (e.g., dates, text) and validate the cleaned data.
  5. Suggest ways to automate the cleaning process for future surveys.
  6. Summarize the cleaning steps taken and any assumptions made.

Output format Provide a clear, actionable guide with numbered steps, code snippets if applicable, and a summary of the cleaning process. Use bullet points for clarity.

Guardrails

  • Do not alter data beyond the specified scope; preserve original data integrity.
  • Flag any ambiguous data points rather than guessing.
  • Ensure any scripts are safe and do not introduce errors.

Example Dataset: 'survey_responses_2024.csv', Cleaning scope: 'remove duplicates and standardize date formats', Specific requirements: 'convert all dates to YYYY-MM-DD'.

Follow-up prompts

  • What are the best practices for ensuring data integrity during cleaning?
  • How can I automate this cleaning process for future surveys?
  • What tools can I use alongside this to enhance data cleaning?