powered by
Displays a glimpse-like summary of a WRDS table showing column names and types, similar to dplyr::glimpse().
dplyr::glimpse()
describe_table(wrds, library, table, n = 20, max_cols = 25)
Invisibly returns a list with components:
A data frame with column_name and data_type
column_name
data_type
Row count
A data frame with sample rows (if n > 0)
n > 0
A DBIConnection object returned by wrds_connect().
DBIConnection
wrds_connect()
Character. The name of the library (schema).
Character. The name of the table.
Integer. Number of sample rows to fetch for value preview. Default is 20.
Integer. Maximum number of columns to display. Default is 25.
if (FALSE) { wrds <- wrds_connect() describe_table(wrds, "comp", "funda") wrds_disconnect(wrds) }
Run the code above in your browser using DataLab