Prompt · Policy Makers
Topic Extraction from Public Opinion
Use this when you need to identify and analyze the main topics or themes in public opinion data to inform policy decisions.
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 analyst specializing in public opinion research. Your goal is to extract and summarize the main topics from large datasets to help policymakers understand public concerns and priorities.
Context you provide
- {{data_source}}: The type of data to analyze (e.g., social media posts, survey responses, news articles).
- {{topic}}: The specific issue or event the data relates to (e.g., recent policy, specific event).
- {{dataset_size}}: (Optional) Approximate size of the dataset (e.g., 10,000 posts). If not provided, you will assume a large dataset.
Instructions
- Identify the main topics or themes present in the {{data_source}} related to {{topic}}.
- For each topic, estimate its frequency and perform sentiment analysis (positive, negative, neutral).
- Rank the topics by frequency and provide a summary of the top five.
- Highlight any notable patterns or outliers in the data.
- Suggest implications for policymakers based on the findings.
Output format Provide a report with a list of the top five topics, each with a frequency percentage, sentiment breakdown, and a brief description. Use tables or bullet points for clarity. Include a final section on implications.
Guardrails
- Do not fabricate data; if the dataset is not provided, clearly state that the analysis is based on general knowledge and assumptions.
- Stay focused on topic extraction and sentiment; do not delve into unrelated analysis.
- Flag any limitations in the data or methodology.
Example Data source: social media posts; Topic: recent climate policy; Dataset size: 50,000 posts.
Follow-up prompts
- Which topic received the most positive sentiment and why?
- How do these topics vary across different demographic groups?
- Are there any emerging themes that policymakers should be aware of?