API Documentation¶
Tables (neurobooth_terra
):¶
|
Table class that is a wrapper around Postgres SQL table. |
|
Create a table. |
|
Drop table. |
|
List the table_ids in the database. |
|
Transform a SELECT query into a pandas dataframe |
Redcap (neurobooth_terra.redcap
)¶
These are general redcap functions.
|
Get schema of table from redcap |
|
Extract pandas dataframe into tuples for ingestion in Postgres. |
|
Rename subject_id in table_subject using data in redcap_df. |
Data dictionary¶
These are functions related to processing data dictionary
Extract the field annotation and create new columns for them |
|
|
Create new columns mapping Redcap data types to Postgres and Python. |
Add response array dictionary mapping answer choices to answer text. |
|
|
Get the column names and datatypes for the tables. |
|
Subselect columns that are in the report. |
Data flow¶
|
Write a file. |
|
Transfer files using rsync. |
|
Delete files if x% of disk is filled. |