Prompt · Data Scientists
Integrate Multiple Data Sources
Use this when you need to combine datasets from different sources for comprehensive analysis.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- 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
- Ask for missing context if not provided.
- Outline a step-by-step integration plan, starting with identifying common fields and handling data types.
- Recommend strategies for dealing with inconsistencies, duplicates, and conflicts (e.g., deduplication rules, conflict resolution).
- Discuss normalization/standardization needs before merging.
- 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?