Skip to content

Commit

Permalink
Chore: #2040 Update admiral.test to pharmaversesdtm: Update create_qu…
Browse files Browse the repository at this point in the history
…ery_data.R
  • Loading branch information
jeffreyad committed Aug 14, 2023
1 parent 6902a03 commit 6ae6a46
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions R/create_query_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
#' @examples
#' library(tibble)
#' library(dplyr, warn.conflicts = FALSE)
#' library(admiral.test)
#' library(pharmaversesdtm)
#' library(admiral)
#'
#' # creating a query dataset for a customized query
Expand Down Expand Up @@ -145,11 +145,11 @@
#' )
#' )
#'
#' # The get_terms function from admiral.test is used for this example.
#' # The get_terms function from pharmaversesdtm is used for this example.
#' # In a real application a company-specific function must be used.
#' create_query_data(
#' queries = list(pregsmq, bilismq),
#' get_terms_fun = admiral.test:::get_terms,
#' get_terms_fun = pharmaversesdtm:::get_terms,
#' version = "20.1"
#' )
#'
Expand All @@ -164,16 +164,16 @@
#' )
#' )
#'
#' # The get_terms function from admiral.test is used for this example.
#' # The get_terms function from pharmaversesdtm is used for this example.
#' # In a real application a company-specific function must be used.
#' create_query_data(
#' queries = list(sdg),
#' get_terms_fun = admiral.test:::get_terms,
#' get_terms_fun = pharmaversesdtm:::get_terms,
#' version = "2019-09"
#' )
#'
#' # creating a query dataset for a customized query including SMQs
#' # The get_terms function from admiral.test is used for this example.
#' # The get_terms function from pharmaversesdtm is used for this example.
#' # In a real application a company-specific function must be used.
#' create_query_data(
#' queries = list(
Expand All @@ -190,7 +190,7 @@
#' )
#' )
#' ),
#' get_terms_fun = admiral.test:::get_terms,
#' get_terms_fun = pharmaversesdtm:::get_terms,
#' version = "20.1"
#' )
create_query_data <- function(queries,
Expand Down

0 comments on commit 6ae6a46

Please sign in to comment.