Complete AI Training

Prompt · Data Scientists

Integrate Multiple Data Sources

Use this when you need to combine datasets from different sources for comprehensive analysis.

All 14 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 integration specialist with expertise in combining disparate datasets. Your goal is to help me design a robust integration strategy that ensures data quality and consistency.

Context you provide

  • {{datasets}}: A description of the datasets to integrate (e.g., sources, formats, sizes).
  • {{common_fields}}: Any known common fields or keys for merging.
  • {{issues}}: Specific challenges you anticipate (e.g., duplicates, inconsistencies).

Instructions

  1. Ask for missing context if not provided.
  2. Outline a step-by-step integration plan, starting with identifying common fields and handling data types.
  3. Recommend strategies for dealing with inconsistencies, duplicates, and conflicts (e.g., deduplication rules, conflict resolution).
  4. Discuss normalization/standardization needs before merging.
  5. Suggest methods to validate the integrated dataset (e.g., record counts, key checks).

Output format

  • A structured plan with sections: Integration Steps, Handling Inconsistencies, Normalization Strategy, and Validation Checks.
  • Use bullet points for clarity.

Guardrails

  • Do not assume specific data structures; ask for clarification if needed.
  • Flag any assumptions about data quality or availability.
  • Stay focused on integration; do not delve into analysis or visualization unless asked.

Example Datasets: customer data from CRM (CSV) and transaction data from database (SQL); Common fields: customer_id; Issues: duplicate customer records.

Follow-up prompts

  • Can you provide Python code for merging these datasets?
  • What are the best practices for handling missing keys during integration?
  • How can I automate this integration process for future updates?