add_limit: add limit n in SQL query

Description Usage Arguments Value Examples

Description

add limit n in SQL query

Usage

1
add_limit(query, n = 100)

Arguments

query

SQL statement

n

number of observations

Value

query with added limit

Examples

1
2
library(magrittr)
"select * from schema.table;" %>% add_limit(100)

taekyunk/sql.helper documentation built on May 20, 2019, 1:30 p.m.