Summarize the attribute schema from a tidy ATTRIBUTES table
summarize_attr_schema.RdProvides a summary of attribute usage in a tidy ATTRIBUTES table,
reporting the number of occurrences, unique OBJECTIDs, and example values.
Arguments
- attr_df
Data frame produced by
get_attr_df().
Value
A data frame with one row per attribute, including:
attr_name- attribute namen_records- total number of rows containing itn_objects- distinct OBJECTIDs it appears inn_unique_vals- number of distinct values observedexample_value- representative example value
Examples
if (FALSE) { # \dontrun{
attrs <- get_attr_df("data/2021/EFILE2021.duckdb")
summarize_attr_schema(attrs)
} # }