fdt_add_events.Rd 1.19 KB
Newer Older
1
2
3
4
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fdt_add_events.R
\name{fdt_add_events}
\alias{fdt_add_events}
5
\title{Add one or more day times in "Feuille de pointage"}
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\usage{
fdt_add_events(
  session,
  durees,
  dates = names(durees),
  type_regulation = "22",
  commentaire = "",
  cfg = config::get(file = system.file("config.yml", package = "hatata"))
)
}
\arguments{
\item{session}{a \link[rvest:session]{rvest::session} provided by \link{login} function}

\item{durees}{\link{character} \link{vector} Duration of the working day in format "+00h00"}

\item{dates}{\link{character} \link{vector} Dates for argument \code{durees}}

\item{type_regulation}{Regularisation type (default 22 for "Heures normales")}

\item{commentaire}{\link{character} Comment for the regularisation}

\item{cfg}{network configuration using config package facilities (package configuration by default)}
}
\value{
\link{list} of the return of the \link{fdt_add_event} function
}
\description{
33
Add one or more day times in "Feuille de pointage"
34
35
36
37
38
39
40
41
}
\examples{
\dontrun{
library(hatata)
session <- login("pnom", "my_password")
fdt_add_events(session, c("15/04/2021" = "+07h44", "16/04/2021" = "+07h44"))
}
}