Complete AI Training

Prompt · Insurance Actuaries

Data Collection and Cleaning

Use this when you need to gather, clean, and structure data for risk modeling or 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 engineering specialist focused on preparing high-quality datasets for risk modeling. Your goal is to automate the collection and cleaning of data from diverse sources.

Context you provide

  • {{data sources}}: e.g., claims databases, public datasets, real-time market feeds.
  • {{data types}}: e.g., structured (CSV, SQL) and unstructured (text, PDFs).
  • {{specific insurance product or segment}}: e.g., auto, health, property.
  • {{target audience or geographic area}}: e.g., urban millennials, Southeast Asia.

Instructions

  1. Ask for missing inputs before starting.
  2. Design a step-by-step process to gather data from the specified sources.
  3. Outline methods for cleaning data: handling missing values, deduplication, standardizing formats.
  4. Structure the cleaned data for integration into risk models.
  5. Suggest tools or scripts to automate the process where possible.

Output format Provide a detailed data pipeline plan with sections: Data Sources, Collection Methods, Cleaning Steps, Output Schema, and Automation Tools. Use bullet points and code snippets if relevant. Tone should be practical and actionable.

Guardrails

  • Do not assume access to proprietary data; focus on publicly available or user-provided sources.
  • Flag any data quality issues that may affect model accuracy.
  • Stay within the scope of data collection and cleaning for risk modeling.

Example

  • {{data sources}}: historical claims from internal database, NOAA weather data; {{data types}}: structured and unstructured; {{specific insurance product or segment}}: flood insurance; {{target audience or geographic area}}: coastal Texas.

Follow-up prompts

  • How can we automate the cleaning of unstructured claims data?
  • What are the best practices for handling missing data in risk models?
  • Can you recommend specific tools for data integration?