See the sources and SQL behind an answer
Select Sources under an answer to open a panel that lists the data sources, tables and SQL queries Clema used. You can copy any query and run it yourself.
On this page
Open the sources for an answer
Step 1: Under the answer, select Sources.
The button only appears when Clema used a data source, a file or web search for that answer.
Step 2: In the side panel, stay on the Sources tab.
Step 3: Expand a step to see its SQL Queries and the Tables it read.
Web search steps list the pages Clema found.
Step 4: Hover over a query and select Copy SQL to copy it.
Check a number yourself
To confirm a figure, paste the copied SQL into the Query Builder for the same data source and run it. The Query Builder returns the same rows Clema worked from. See run SQL in the Query Builder.
If a column name is unfamiliar, look it up in Data Definitions for that source. See search Data Definitions for a variable.
Which data sources Clema can use
On a new chat, select the 10 public data sources pill to open Data Source Details. It lists each source with its last update and how often it is refreshed. For release dates, see data sources and release dates.
Troubleshooting
- There is no Sources button under an answer.
- Clema did not query anything for that answer. Ask the question again and name the source, for example "using IPEDS".
- The SQL uses a different year or cohort than you wanted.
- Reply in the same chat with the year or cohort you need. Clema reruns the query with that change.
Common questions
- Does Clema show the SQL for every answer?
- It shows the SQL for every step that queried a data source. Answers written without a query have no SQL to show.
- Can I edit the SQL and run it again?
- Yes. Copy it into the Query Builder for that data source, change it and select Execute.
- Where can I see which tables an answer came from?
- In the Sources panel, each step that ran a query lists the tables it used next to the SQL.