File: lazy-select-query.md

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

    Code
      lazy_select_query(x = lazy_query_local(tibble(x = 1, y = 2), "df"), select = quos(
        x_mean = mean(x), y2 = y), where = quos(y > 1, x == y - 2), group_by = quos(
        "x"))
    Output
      <SQL SELECT>
      From:
        <IDENT> df
      Select:   x_mean = mean(x), y2 = y
      Where:    y > 1, x == y - 2
      Group by: "x"