knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

queryr

Build Status Build status codecov.io CRAN_Status_Badge Downloads from the RStudio CRAN mirror Project Status: Active - The project has reached a stable, usable state and is being actively developed.

queryr provides tools to aid in querying SQL databases through R.

Installation

You can install:

If you encounter a clear bug, please file a minimal reproducible example on github.

API

library(dplyr, warn.conflicts = FALSE)
library(queryr)
raw_qry <- 
"
SELECT * 

FROM SOME_TABLE

WHERE CONDITION 

GROUP BY VARIABLES;
"

raw_qry %>% remove_whitespace
raw_qry %>% remove_whitespace %>% remove_semicolon


paulhendricks/queryr documentation built on May 24, 2019, 8:43 p.m.