Skip to contents

List the tables in an OmicIDX connection

Usage

omicidx_tables(con)

Arguments

con

A connection from omicidx_connect(), or an omicidx_db() object.

Value

A tibble with columns schema, table and type ("VIEW" or "BASE TABLE"), one row per table.

Examples

con <- omicidx_connect()
omicidx_tables(con)
#> # A tibble: 41 × 3
#>    schema    table                      type 
#>    <chr>     <chr>                      <chr>
#>  1 geometadb geo_supplemental_files     VIEW 
#>  2 geometadb gpl                        VIEW 
#>  3 geometadb gse                        VIEW 
#>  4 geometadb gse_gpl                    VIEW 
#>  5 geometadb gse_gsm                    VIEW 
#>  6 geometadb gsm                        VIEW 
#>  7 main      bioprojects                VIEW 
#>  8 main      biosamples                 VIEW 
#>  9 main      biosamples__attribute_recs VIEW 
#> 10 main      ebi_biosamples             VIEW 
#> # ℹ 31 more rows
DBI::dbDisconnect(con)