File: lazy-select-query.md

package info (click to toggle)
r-cran-dbplyr 2.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,644 kB
  • sloc: sh: 13; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# can print lazy_select_query

    Code
      lazy_select_query(x = lf$lazy_query, select = quos(x_mean = mean(x), y2 = y),
      where = quos(y > 1, x == y - 2), group_by = quos("x"))
    Output
      <SQL SELECT>
      From:
        <table_path> `df`
      Select:   x_mean = mean(x), y2 = y
      Where:    y > 1, x == y - 2
      Group by: "x"