For platform users
AI-assistant
The AI assistant answers weather questions in plain language, docked right on the explore map. Ask it something like “how has average summer rainfall in Lisbon changed since 2000?” and it writes and runs the R code to answer it, live, in your browser.
01 · Opening it
The chat icon on the explore map
Click the pulsing chat icon — top-right on desktop, top-left on mobile — to open the assistant as a small panel over the map. Send your first question and it expands to fill the screen.
Two things need to be ready before you can ask anything: you must be signed in, and the in-browser R runtime that powers it has to finish starting up. That runtime starts loading as soon as the explore map does, so by the time you've found and clicked the icon it's usually ready — a “Starting assistant” state covers the gap otherwise.
Signed out
The panel opens but shows a locked, sign-in prompt instead of the input.
Runtime still starting
The input stays disabled with a “Starting assistant…” placeholder until it's ready.
02 · What happens when you ask
From a question to an answer
Your question isn't tied to whatever point is currently selected on the map — name a place in the question itself (“Tokyo”, “Rome and Berlin”) and the assistant geocodes it independently.
- 1The AI writes R code. Your question is sent off and comes back as R code — not a text answer — built to call the same historical data used everywhere else on the platform.
- 2That code runs in your browser. The code runs through the same in-browser R engine as
r-lab, right there in the tab — nothing is executed on a server, and no data leaves your session beyond the API calls the code itself makes. - 3The result renders inline. Depending on what the code produced, you get a chart, a table, a rendered plot, or plain text — whichever fits the data best.
03 · Reading the result
Chart, table, or plot
Chartable results default to a chart, with a toggle to switch to the raw table. Results the assistant can't chart (like a base-R plot) render as an image instead. Every answer also has a View R code section — the exact code that ran, rewritten to swap in your real API key so it's a standalone script you can copy and run outside the platform, e.g. in RStudio.
04 · Feedback
Rate an answer
Every finished answer has a Feedback button — say whether it answered your question and optionally add a note. That's sent along with the question and the exact code that ran, so a “no” points at something reproducible rather than just a rating.
For questions the assistant can't answer directly, the underlying data is always reachable yourself through the API.