Learn R Programming

proustr (version 0.4.0)

pr_detect_months: Detect french months

Description

Detect the name of the months (in French)

Usage

pr_detect_months(df, col)

Arguments

df

a dataframe

col

the column containing the text

Value

a tibble with the number of days detected by the algo

Examples

Run this code
# NOT RUN {
a <- data.frame(month = c("C'est lundi 1er mars et mardi 2", 
"Et mercredi 3", "Il est revenu en juin."))
pr_detect_months(a, month)
# }

Run the code above in your browser using DataLab