R (prqlr)
R bindings for prql-compiler.
prqlr also includes knitr (R Markdown and Quarto) integration, which allows us to easily create documents with the PRQL conversion results embedded in.
Check out <https://eitsupi.github.io/prqlr/> for more context.
Note
prqlr is generously maintained by @eitsupi in the eitsupi/prqlr repo.
Installation
1. install.packages("prqlr")
Usage
1. library(prqlr)
3. "
4. from employees
5. join salaries [emp_id]
6. group [dept_id, gender] (
7. aggregate {
8. avg_salary = average salary
9. }
10. )
11. " |>
12. prql_compile()
