Academic period
academic_period.Rd
In this function a date is translated to the academic year or period in which that date falls. This is based on the periods contained in the file Dates.csv which is an given dataset in the package vvconverter. This information is entered manually maintained on the basis of the academic year calendar of the VU. However, the user can also use his own created dataset, with the same column names, by using the argument date_table
Arguments
- x
A date, or vector with multiple dates. POSIXct is also accepted.
- type
Default: "period": Returns the academic period. at "year" the academic year is returned.
- date_table
A table in which the correct academic year and period can be found. When the argument is null, Dates.csv from vvconverter will be used.
See also
Other vector calculations:
count_more_than_1()