fun_date_extraction

0th

Percentile

This function extracts temporal characteristics from a dataframe

This function extracts temporal characteristics from a dataframe

Usage
fun_date_extraction(data, nom_coldt, annee = TRUE, mois = TRUE,
  quinzaine = FALSE, semaine = TRUE, semaine_std = FALSE,
  jour_an = FALSE, jour_mois = TRUE, heure = FALSE)
Arguments
data

a data frame containing a Date or POSIXt column

nom_coldt

the name of the column containing date or POSIXt entry to be processed

annee

logical do you want a column describing year to be added to the dataframe

mois

logical, add column with month

quinzaine

logical, add column with 15 days

semaine

logical, add column with weeks

semaine_std

logical, add column with standard weeks (using isoweek from lubridate)

jour_an

logical, add column with day of year

jour_mois

logical, add column with day of month

heure

logical, add column with hour

Value

data The dataframe with date column filled

Aliases
  • fun_date_extraction
Documentation reproduced from package stacomiR, version 0.5.3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.