add_maandnaam: Toevoegen van de maandnaam

Description Usage Arguments Value Examples

Description

Deze functie voegt de Nederlandse naam van een maand toe aan een dataframe op basis van de datum

Usage

1
add_maandnaam(df, datum = "datum", titlecase = FALSE)

Arguments

df

Dataframe waar een kolom maandnaam aan wordt toegevoegd

datum

Character met de naam van de datum kolom. De default is "datum"

titlecase

Logical. Maandnamen met hoofdletter of niet

Value

Een dataframe met de nieuwe kolom maandnaam

Examples

1
2
3
4
5
6
7
## Not run: 

dataframe <- add_maandnaam(dataframe_orig)
dataframe %>% add_maandnaam()
dataframe %>% add_maandnaam(datum = "mijn_datumkolom", titlecase = FALSE)

## End(Not run)

RedTent/JT documentation built on May 10, 2019, 9:58 a.m.