convert_urssaf_periods_: Convert urssaf periods to standard format

Description Usage Arguments Value Examples

Description

Urssaf store dates in a very specific format. This can be years + 62 for annual values, years + quarter + 0 for quarterly values years + quarter + number of the month in the quarter for monthly values.

Usage

1
convert_urssaf_periods_(.data, .variable, format = "yyqm")

Arguments

.data

a table with a period

.variable

the name of the variable with urssaf periods

format

can bee yyqm or yyyyqm

Value

an new table with two more columns : periodicity and period

Examples

1
2
3
4
## Not run: 
convert_urssaf_periods_(.variable = ~ yyyyqm, format = "yyyyqm")

## End(Not run)

SGMAP-AGD/opensignauxfaibles documentation built on May 15, 2019, 1:26 p.m.