easystats / datawizard

Magic potions to clean and transform your data 🧙
https://easystats.github.io/datawizard/
Other
216 stars 16 forks source link

Check column names of dataframes? #276

Open etiennebacher opened 2 years ago

etiennebacher commented 2 years ago

Should this kind of check be generalized to all other functions for consistency? If so, we could make a helper .check_dataframe_names() (we could also suggest using janitor::clean_names()).

https://github.com/easystats/datawizard/blob/89e81930548aecf37e87968f83e5007dd3c37b8f/R/adjust.R#L78-L83

strengejacke commented 2 years ago

Yes, sounds good! I'd also say that we can both suggest makenames and janitor.