Tidys a data frame to return unified case names, autoparses logical columns and auto formats counts, amounts and values.
tidy_column_formats(data, drop_na_columns = TRUE)
data |
|
---|---|
drop_na_columns |
|
tibble
Other utility function:
drop_na_columns()
,
get_class_df()
,
tidy_column_relations()
library(dplyr) tibble(nameFund = "Blackstone Real Estate Fund IX", isNewFund = "N/A", countAssets = 12000, amountAUM = 65000000, isRealEstateFund = 1) %>% tidy_column_formats(drop_na_columns = FALSE)