Date and Time Functions for Public Health Purposes


[Up] [Top]

Documentation for package ‘cstime’ version 2023.5.3

Help Pages

dates_by_isoyearweek Dates of different days within isoyearweeks
date_to_calmonth_c Date -> calmonth (character)
date_to_calmonth_c.character Date -> calmonth (character)
date_to_calmonth_c.Date Date -> calmonth (character)
date_to_calmonth_c.default Date -> calmonth (character)
date_to_calmonth_n Date -> calmonth (numeric)
date_to_calmonth_n.character Date -> calmonth (numeric)
date_to_calmonth_n.Date Date -> calmonth (numeric)
date_to_calmonth_n.default Date -> calmonth (numeric)
date_to_calyearmonth_c Date -> calyearmonth (character)
date_to_calyearmonth_c.character Date -> calyearmonth (character)
date_to_calyearmonth_c.Date Date -> calyearmonth (character)
date_to_calyearmonth_c.default Date -> calyearmonth (character)
date_to_calyear_c Date -> calyear (character)
date_to_calyear_c.character Date -> calyear (character)
date_to_calyear_c.Date Date -> calyear (character)
date_to_calyear_c.default Date -> calyear (character)
date_to_calyear_n Date -> calyear (numeric)
date_to_calyear_n.character Date -> calyear (numeric)
date_to_calyear_n.Date Date -> calyear (numeric)
date_to_calyear_n.default Date -> calyear (numeric)
date_to_isoweek_c ISO week (character) from Date object
date_to_isoweek_c.character ISO week (character) from Date object
date_to_isoweek_c.Date ISO week (character) from Date object
date_to_isoweek_c.default ISO week (character) from Date object
date_to_isoweek_n ISO week (numeric) from Date object
date_to_isoweek_n.character ISO week (numeric) from Date object
date_to_isoweek_n.Date ISO week (numeric) from Date object
date_to_isoweek_n.default ISO week (numeric) from Date object
date_to_isoyearweek_c ISO year and week (character) from Date object
date_to_isoyearweek_c.character ISO year and week (character) from Date object
date_to_isoyearweek_c.Date ISO year and week (character) from Date object
date_to_isoyearweek_c.default ISO year and week (character) from Date object
date_to_isoyear_c ISO year (character) from Date object
date_to_isoyear_c.character ISO year (character) from Date object
date_to_isoyear_c.Date ISO year (character) from Date object
date_to_isoyear_c.default ISO year (character) from Date object
date_to_isoyear_n ISO year (numeric) from Date object
date_to_isoyear_n.character ISO year (numeric) from Date object
date_to_isoyear_n.Date ISO year (numeric) from Date object
date_to_isoyear_n.default ISO year (numeric) from Date object
date_to_seasonweek_n Date to season week.
date_to_season_c Date to season.
isoweek_to_seasonweek_n ISO week to season week (numeric). Season week 1 is natural week 30.
isoweek_to_seasonweek_n.character ISO week to season week (numeric). Season week 1 is natural week 30.
isoweek_to_seasonweek_n.default ISO week to season week (numeric). Season week 1 is natural week 30.
isoweek_to_seasonweek_n.numeric ISO week to season week (numeric). Season week 1 is natural week 30.
isoyearweek_to_isoweek_c ISO yearweek to week (character)
isoyearweek_to_isoweek_c.character ISO yearweek to week (character)
isoyearweek_to_isoweek_c.default ISO yearweek to week (character)
isoyearweek_to_isoweek_n ISO yearweek to week (numeric)
isoyearweek_to_isoweek_n.character ISO yearweek to week (numeric)
isoyearweek_to_isoweek_n.default ISO yearweek to week (numeric)
isoyearweek_to_isoyear_c ISO yearweek to year (character)
isoyearweek_to_isoyear_c.character ISO yearweek to year (character)
isoyearweek_to_isoyear_c.default ISO yearweek to year (character)
isoyearweek_to_isoyear_n ISO yearweek to year (numeric)
isoyearweek_to_isoyear_n.character ISO yearweek to year (numeric)
isoyearweek_to_isoyear_n.default ISO yearweek to year (numeric)
isoyearweek_to_last_date Last date in ISO yearweek
isoyearweek_to_last_date.character Last date in ISO yearweek
isoyearweek_to_last_date.default Last date in ISO yearweek
isoyearweek_to_seasonweek_n ISO yearweek to season week (numeric). Season week 1 is natural week 30.
isoyearweek_to_season_c ISO yearweek to season.
isoyearweek_to_season_c.character ISO yearweek to season.
isoyearweek_to_season_c.default ISO yearweek to season.
isoyear_to_last_date Last Sunday in ISO year
isoyear_to_last_date.character Last Sunday in ISO year
isoyear_to_last_date.default Last Sunday in ISO year
isoyear_to_last_date.numeric Last Sunday in ISO year
isoyear_to_last_isoweek_n Last ISO week (numeric) in ISO year
isoyear_to_last_isoweek_n.character Last ISO week (numeric) in ISO year
isoyear_to_last_isoweek_n.default Last ISO week (numeric) in ISO year
isoyear_to_last_isoweek_n.numeric Last ISO week (numeric) in ISO year
isoyear_to_last_isoyearweek_c Last ISO yearweek (character) in ISO year
isoyear_to_last_isoyearweek_c.character Last ISO yearweek (character) in ISO year
isoyear_to_last_isoyearweek_c.default Last ISO yearweek (character) in ISO year
isoyear_to_last_isoyearweek_c.numeric Last ISO yearweek (character) in ISO year
keep_sundays keep_sundays
keep_sundays_and_latest_date keep_sundays_and_latest_date
keep_sundays_and_latest_date_internal keep_sundays_and_latest_date_internal
nor_workdays_by_date Norwegian workdays and holidays by date
nor_workdays_by_isoyearweek Norwegian workdays and holidays by isoyearweek
now_c Current time as character
seasonweek_to_isoweek_c Season week to ISO week (character). Season week 1 is ISO week 30.
seasonweek_to_isoweek_c.default Season week to ISO week (character). Season week 1 is ISO week 30.
seasonweek_to_isoweek_c.numeric Season week to ISO week (character). Season week 1 is ISO week 30.
seasonweek_to_isoweek_n Season week to ISO week (numeric). Season week 1 is ISO week 30.
seasonweek_to_isoweek_n.default Season week to ISO week (numeric). Season week 1 is ISO week 30.
seasonweek_to_isoweek_n.numeric Season week to ISO week (numeric). Season week 1 is ISO week 30.