~/talk

Bridging the Gap between SQL and R

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [databases, developer-experience]
name:Ian Cook
github:ianmcook
slides:none on file

Introduces queryparser, a pure‑R, no‑dependency SQL parser that converts SELECT clauses into unevaluated R expressions, and tidyquery, which uses dplyr and rlang to execute SQL directly on R data frames without copying them to a DB. Parsing time is roughly 100–300 ms for typical queries. Generates runnable dplyr code (show_query) so SQL can be translated into idiomatic dplyr, handles joins and aggregates, and preserves lazy backends like data.table and Arrow; some SQL features and subqueries remain unimplemented.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Show of Hands
  3. 2:11SQL vs R
  4. 5:35DBplier
  5. 7:17SQLDF
  6. 10:32Query Parser
  7. 12:08How Parser Works
  8. 16:33TidyQuery
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.