cycquery.gemini.GEMINIQuerier¶
- class GEMINIQuerier(dbms, user='', password='', host='', port=None, database='', schemas=None)[source]¶
Bases:
DatasetQuerier
GEMINI dataset querier.
Methods
Query care unit data, fetches transfer info from multiple tables.
Query diagnosis data.
Get a table and possibly map columns to have standard names.
Query imaging reports data.
Query GEMINI patient encounters.
List columns in a table.
List custom tables methods provided by the dataset API.
List schemas in the database to query.
List table methods that can be queried using the database.
Query room transfer data.
- care_units()[source]¶
Query care unit data, fetches transfer info from multiple tables.
- Returns:
Constructed table, wrapped in an interface object.
- Return type:
- diagnoses()[source]¶
Query diagnosis data.
- Returns:
Constructed table, wrapped in an interface object.
- Return type:
- get_table(schema_name, table_name, cast_timestamp_cols=True)¶
Get a table and possibly map columns to have standard names.
Standardizing column names allows for columns to be recognized in downstream processing.
- Parameters:
- Returns:
Table with mapped columns.
- Return type:
- imaging()[source]¶
Query imaging reports data.
- Returns:
Constructed table, wrapped in an interface object.
- Return type:
- ip_admin()[source]¶
Query GEMINI patient encounters.
- Returns:
Constructed query, wrapped in an interface object.
- Return type:
- list_columns(schema_name, table_name)¶
List columns in a table.
- list_custom_tables()¶
List custom tables methods provided by the dataset API.
- Returns:
List of custom table names.
- Return type:
List[str]
- list_schemas()¶
List schemas in the database to query.
- Returns:
List of schema names.
- Return type:
List[str]
- list_tables(schema_name=None)¶
List table methods that can be queried using the database.