-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beginner docs added #62
base: dev
Are you sure you want to change the base?
Conversation
Jay-sanjay
commented
Jul 26, 2024
- Beginner docs added for the functions added till now.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #62 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 19 46 +27
=========================================
+ Hits 19 46 +27 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good so far! I'll let you keep writing. Left one comment for now! 😃 Thanks Jay!!!
docs/src/beginner_tutorial.md
Outdated
We will use this to generate database connection details that will inform `OMOPCDMCohortCreator` about the type of queries we will write (i.e. SQLite) and the name of the database's schema. | ||
For this step, we will use `OMOPCDMCohortCreator`: | ||
|
||
```julia | ||
import OMOPCDMCohortCreator as occ | ||
|
||
occ.GenerateDatabaseDetails( | ||
:sqlite, | ||
"main" | ||
) | ||
``` | ||
|
||
Finally, we will generate internal representations of each table found within Eunomia for OMOPCDMCohortCreator to use: | ||
|
||
```julia | ||
occ.GenerateTables(conn) | ||
``` | ||
|
||
As a check to make sure everything was correctly installed and works properly, the following block should work and return a list of all person ids in this data: | ||
|
||
```julia | ||
occ.GetDatabasePersonIDs(conn) | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remind me, I don't think we actually need any of this, correct?