Learn R Programming

proustr (version 0.4.1)

pr_detect_days: Detect french days

Description

Detect the name of the days (in French)

Usage

pr_detect_days(df, col)

Value

a tibble with the number of days detected by the algo

Arguments

df

a dataframe

col

the column containing the text

Examples

Run this code
a <- data.frame(jours = c("C'est lundi 1er mars et mardi 2", 
"Et mercredi 3", "Il est revenu jeudi."))
pr_detect_days(a, jours)

Run the code above in your browser using DataLab