From 02a5906458c529d4c7631c2e92241ec9bcc229a1 Mon Sep 17 00:00:00 2001
From: Jamie Gilbert Alternatively, we can just use Creating Migrations
James P.
Gilbert
- 2023-12-18
+ 2024-05-02
CreatingMigrations.Rmd
Example package results spec
James P.
Gilbert
- 2023-12-18
+ 2024-05-02
ExampleProject.Rmd
Creating a results database schema
-# note - the table prefix and schema parameters are not neeeded when we do this
qns$executeSql(sql)
-##
- |
- | | 0%
- |
- |=================================== | 50%
- |
- |======================================================================| 100%
+## Executing SQL took 0.0192 secs
+## | | | 0% | |=================================== | 50% | |======================================================================| 100%
## Executing SQL took 0.0276 secs
DatabaseConnector
functions directly.
diff --git a/docs/articles/PackageDesign.html b/docs/articles/PackageDesign.html
index 62ef259..0e3c054 100644
--- a/docs/articles/PackageDesign.html
+++ b/docs/articles/PackageDesign.html
@@ -33,7 +33,7 @@
Package Design
James P.
Gilbert
- 2023-12-18
+ 2024-05-02
PackageDesign.Rmd
Upload Functionality
James P.
Gilbert
- 2023-12-18
+ 2024-05-02
UploadFunctionality.Rmd
Using An Export Manager
James P.
Gilbert
- 2023-12-18
+ 2024-05-02
UsingAnExportManager.Rmd
Performing R operationslibrary(rateratio.test)
transformation <- function(rows, pos) {
- rrResult <- rateratio.test(
+ rrResult <- rateratio.test(
x = c(row$target_count, row$comparator_count),
n = c(row$target_time, row$comparator_time),
RR = 1,
@@ -241,7 +241,7 @@
Exporting an Andromeda result in
export in to the R session before saving to disk. Instead, it is best
practice to use batch operations as follows
-andr <- Andromeda::andromeda()
+andr <- Andromeda::andromeda()
andr$my_andromeda_table <- data.frame(covariate_id = 1:1e4, value = stats::runif(1e4))
first <- TRUE
@@ -252,7 +252,7 @@ Exporting an Andromeda result in
return(invisible(NULL))
}
-Andromeda::batchApply(andr$my_andromeda_table, writeBatch)
UsingConnectionHandlers.Rmd
UsingQueryNamespaces.Rmd
##
- |
- | | 0%
- |
- |======================================================================| 100%
-## Executing SQL took 0.0151 secs
+## | | | 0% | |======================================================================| 100%
+## Executing SQL took 0.0202 secs
We can then query the table with sql that automatically replaces the table names:
diff --git a/docs/articles/index.html b/docs/articles/index.html
index 912fbb0..b13f142 100644
--- a/docs/articles/index.html
+++ b/docs/articles/index.html
@@ -17,7 +17,7 @@
Gilbert J (2023). -ResultModelManager: Result Model Manager (RMM) for OHDSI packages. -R package version 0.5.6. +
Gilbert J (2024). +ResultModelManager: Result Model Manager. +R package version 0.5.7.
@Manual{, - title = {ResultModelManager: Result Model Manager (RMM) for OHDSI packages}, + title = {ResultModelManager: Result Model Manager}, author = {Jamie Gilbert}, - year = {2023}, - note = {R package version 0.5.6}, + year = {2024}, + note = {R package version 0.5.7}, }diff --git a/docs/index.html b/docs/index.html index d473049..73da5f5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,13 +5,13 @@ -
ResultModelManager-package.Rd