Commit Graph

32 Commits

Author SHA1 Message Date
Yaroslav Halchenko dceb3a182b [DATALAD RUNCMD] run codespell throughout fixing typos automagically
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2024-03-28 15:31:24 -04:00
Clair Blacketer 67e30a1d10 Added return values to all functions 2024-02-06 15:13:45 -05:00
Clair Blacketer 96c1711507 Addressing notes in CRAN submission 2024-02-02 13:54:24 -05:00
Frank DeFalco 1ac9880f40 updates to documentation and build status 2023-10-26 14:13:30 -04:00
Frank DeFalco 1bcb2236e8 resolved issues with CHECK and tests. 2023-09-07 13:52:20 -04:00
Frank DeFalco f39870c7d5 correct build of new files
includes consistent case for table names
proper directory structure
2023-09-06 13:22:41 -04:00
Frank DeFalco 4f65420456 use the sqlrender function for supported dialects 2022-10-11 17:22:14 -04:00
alex-odysseus 07d0383ac8 Missing commit 3e19695be38a2565f6b187b99ec13575b8767165 from the 'synapse' branch 2022-09-26 17:59:28 +02:00
ssuvorov-fls e1e010a3df added snowflake support 2022-03-30 10:53:52 +03:00
Clair Blacketer f006431a5e Bug fixes and updates from Nov 2021 - Jan 2022 2022-01-13 13:59:03 -05:00
Clair Blacketer 8d7d0199af Regenerate DDLs for CDM 5.4 2021-09-22 15:50:21 -04:00
Adam Black fabf605543 Add OMOP header genearator function 2021-08-20 12:52:08 -04:00
Adam Black d17a4c3e2e move ddl folder to inst so it is accessible from tests 2021-08-20 12:05:15 -04:00
Adam Black de1c577b6b replace outputpath with outputfolder for consistency. update documentation. 2021-08-20 11:25:10 -04:00
Adam Black f7a42d5482 replace outputpath with outputfolder for consitent argument names in the package. 2021-08-20 11:06:23 -04:00
Adam Black 57d40c2a7d Allow user to specify output location in buildRelease 2021-08-20 11:05:46 -04:00
Adam Black eb3d27926f Add imports and update docs. 2021-08-19 16:22:08 -04:00
Adam Black 63ba979509 Merge in Maxims changes. update documentation 2021-08-19 16:00:24 -04:00
Maxim Moinat b3fddfbb85
Function to Build Release Zips (#429)
* buildRelease and buildReleaseZip

* add buildRelease
2021-08-19 15:43:34 -04:00
Adam Black ed5fb2d428 Add tests for redshift. Clean up test setup file. 2021-08-19 15:17:01 -04:00
Adam Black 19462d322d
Add tests, github actions, and executeDdl function (#425)
* Add github actions workflow to build package and run tests.

* update Description file

* rename .Rproj file.

* Consolidate 'create' functions into one file.

* Add tests for create functions.

* update description

* removed spaces in file and folder names. Regenerated ddl output. Tried to fix Field_Level.csv file.

* consolidate write functions into one file. Add execute function.

* update docs

* add tests for write and execute functions

* update documentation

* Add windows and linux runners in github actions.

* update github actions

* download drivers before running tests

* fix small error in setup test file.

* debug github actions

* debug github actions

* debug github actions

* debug github actions

* fix tiny bug

* comment out execute ddl test

* fix bug in test

* Add execute test back in

* revert accidental change in description

* add print statement for debugging schema error on github actions.

* Fix schema environment variable name

* Add comment to github actions workflow file.

* remove placeholder text in function documentation.

* Rename createdDdl.R to createDdl.R

Co-authored-by: Adam Black <adam.black@odysseusinc.com>
2021-08-19 11:49:36 -04:00
Adam Black 05e9b801e0 Rename createdDdl.R to createDdl.R 2021-08-19 11:47:56 -04:00
Adam Black 948a78c09f remove placeholder text in function documentation. 2021-08-19 11:46:01 -04:00
Adam Black 08bf6ee17e consolidate write functions into one file. Add execute function. 2021-08-18 23:32:31 -04:00
Adam Black 02260fb855 Consolidate 'create' functions into one file. 2021-08-18 17:20:34 -04:00
Frank DeFalco a4bfeccf83 function naming & additional cleanup
made create and write functions consistent
fixed render issue that was not including dialect name in generated files
added loop to codeToRun to generate all scripts.
2021-08-18 15:30:04 -04:00
Frank DeFalco be7ea44fba various
fixed writePrimary use of fk function
removed old/unnecessary files - reviewed with CB
added listSupportedVersions function - explicitly not including 6.0
2021-08-18 14:24:45 -04:00
Maxim Moinat 12e5fb3467 add new ddl folder with generated sql 2021-08-18 19:47:13 +02:00
Maxim Moinat 8d29222563 refactor index creation and cleanup codeToRun 2021-08-18 19:42:01 +02:00
Maxim Moinat 5d9887a356 refactor create and write sql for foreign key and primary key 2021-08-18 19:28:21 +02:00
Maxim Moinat f8cd93d159 refactoring of create and write DDL 2021-08-18 19:02:22 +02:00
Clair Blacketer f892dac55d Moved R project from CdmDdlBase
This commit pulls the R project over from the CdmDdlBase repository. This will be the jumping-off code for the new OMOP CDM repo.
2021-06-08 20:19:01 -04:00