What is the difference between tricky
's set_standard_names()
and tibble
's set_tidy_names()
?
set_standard_names()
removes accents. set_tidy_names
doesn't.set_standard_names()
replaces blank spaces with _
where set_tidy_names()
uses .
According to the tidyverse's styleguide :
Variable and function names should use only lowercase letters, numbers, and _.
library("tibble") library("tricky") table_sample <- tibble( `base élèves` = c("toto"), `2017/07/07` = as.Date("2017-07-01") )
table_sample %>% set_standard_names() %>% glimpse()
table_sample %>% set_tidy_names(syntactic = TRUE) %>% glimpse()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.