.births_fr <- function(births, labels_only = FALSE, as_labelled = FALSE) {
comment(births) <- c(
"Jeu de données 'births' du package 'babynames'")
births <- labelise(births, self = FALSE,
label = list(
year = "Année",
births = "Naissances"),
units = list(
year = NA,
births = NA),
as_labelled = as_labelled)
#if (!isTRUE(labels_only)) {
# # Nothing to do
#}
births
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.