Skip to content

Commit

Permalink
Reexport Rlabkey::makeFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
juyeongkim committed Dec 14, 2018
1 parent de9a65d commit 3c46588
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 51 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Suggests:
knitr,
pryr
VignetteBuilder: knitr
RoxygenNote: 6.1.0
RoxygenNote: 6.1.1
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export(checkNetrc)
export(connectDS)
export(makeFilter)
export(writeNetrc)
importFrom(R6,R6Class)
importFrom(Rlabkey,getSession)
Expand Down
2 changes: 1 addition & 1 deletion R/DataSpaceStudy.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
#' }
#' @docType class
#' @importFrom digest digest
#' @importFrom Rlabkey labkey.getQueryDetails labkey.executeSql makeFilter
#' @importFrom Rlabkey labkey.getQueryDetails labkey.executeSql
DataSpaceStudy <- R6Class(
classname = "DataSpaceStudy",
public = list(
Expand Down
4 changes: 4 additions & 0 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,7 @@ makeCountQuery <- function(dataset, group) {

query
}

#' @importFrom Rlabkey makeFilter
#' @export
Rlabkey::makeFilter
16 changes: 16 additions & 0 deletions man/reexports.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion vignettes/Intro_to_DataSpaceR.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ knitr::kable(cvd256$getVariableInfo("NAb"))
To get only a subset of the data and speed up the download, filters can be passed to `getDataset`. The filters are created using the `makeFilter` function of the `Rlabkey` package.

```{r getDataset-filter}
library(Rlabkey)
cvd256Filter <- makeFilter(c("visit_day", "EQUAL", "0"))
NAb_day0 <- cvd256$getDataset("NAb", colFilter = cvd256Filter)
dim(NAb_day0)
Expand Down
128 changes: 80 additions & 48 deletions vignettes/Intro_to_DataSpaceR.html

Large diffs are not rendered by default.

0 comments on commit 3c46588

Please sign in to comment.