Description Usage Arguments Details Value
Creates a summary table from PostgreSQL table's columns
1 2 3 4 5 6 7 8 | pg_summary(
conn,
tbl,
...,
schema = "public",
max_levels = 10,
outliers = FALSE
)
|
conn |
Connection |
tbl |
Table name |
... |
Columns' bare-names |
schema |
Schema name, "public" by default |
max_levels |
Max number of levels to report for categorical |
outliers |
Calculate outlier for numeric data? Defaults to FALSE. |
R exports factors as text to PostgreSQL, even though PostgreSQL has enum type which is somehow equivalent to factors. This function shows unique values as variable levels to maximum number of 10, unless otherwise specified. As of now, it f supports only dates, texts and numbers.
Dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.