Package: grates 1.4.3.9000

Tim Taylor

grates: Grouped Date Classes

Provides a coherent interface and implementation for creating grouped date classes.

Authors:Tim Taylor [aut, cre]

grates_1.4.3.9000.tar.gz
grates_1.4.3.9000.zip(r-4.5)grates_1.4.3.9000.zip(r-4.4)grates_1.4.3.9000.zip(r-4.3)
grates_1.4.3.9000.tgz(r-4.5-any)grates_1.4.3.9000.tgz(r-4.4-any)grates_1.4.3.9000.tgz(r-4.3-any)
grates_1.4.3.9000.tar.gz(r-4.5-noble)grates_1.4.3.9000.tar.gz(r-4.4-noble)
grates_1.4.3.9000.tgz(r-4.4-emscripten)grates_1.4.3.9000.tgz(r-4.3-emscripten)
grates.pdf |grates.html
grates/json (API)
NEWS

# Install 'grates' in R:
install.packages('grates', repos = c('https://reconverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/reconverse/grates/issues

On CRAN:

Conda:

7.25 score 17 stars 2 packages 18 scripts 1.4k downloads 58 exports 0 dependencies

Last updated 18 days agofrom:9b6b9eb67b. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 10 2025
R-4.5-winOKMar 10 2025
R-4.5-macOKMar 10 2025
R-4.5-linuxOKMar 10 2025
R-4.4-winOKMar 10 2025
R-4.4-macOKMar 10 2025
R-4.4-linuxOKMar 10 2025
R-4.3-winOKMar 10 2025
R-4.3-macOKMar 10 2025

Exports:%during%as_epiweekas_int_periodas_isoweekas_monthas_periodas_yearas_yearmonthas_yearquarteras_yearweekdate_enddate_startepiweekget_firstdayget_nget_offsetget_weekget_yearis_epiweekis_int_periodis_isoweekis_monthis_periodis_yearis_yearmonthis_yearquarteris_yearweekisoweeknew_epiweeknew_int_periodnew_isoweeknew_monthnew_periodnew_yearmonthnew_yearquarternew_yearweekscale_x_grates_epiweekscale_x_grates_int_periodscale_x_grates_isoweekscale_x_grates_monthscale_x_grates_periodscale_x_grates_yearscale_x_grates_yearmonthscale_x_grates_yearquarterscale_x_grates_yearweekscale_x_grates_yearweek_epiweekscale_x_grates_yearweek_fridayscale_x_grates_yearweek_isoweekscale_x_grates_yearweek_mondayscale_x_grates_yearweek_saturdayscale_x_grates_yearweek_sundayscale_x_grates_yearweek_thursdayscale_x_grates_yearweek_tuesdayscale_x_grates_yearweek_wednesdayyearyearmonthyearquarteryearweek

Dependencies:

Grouped dates

Rendered fromgrates.Rmdusinglitedown::vignetteon Mar 10 2025.

Last update: 2025-03-07
Started: 2025-01-17

Readme and manuals

Help Manual

Help pageTopics
Is a date covered by a grouped date%during%
Access the bounding dates of a grates objectboundaries date_end date_start
Epiweek classas_epiweek as_epiweek.character as_epiweek.Date as_epiweek.default as_epiweek.factor as_epiweek.POSIXt epiweek epiweek_class is_epiweek new_epiweek
Accessors for grate objectsget_firstday get_firstday.default get_firstday.grates_yearweek_friday get_firstday.grates_yearweek_monday get_firstday.grates_yearweek_saturday get_firstday.grates_yearweek_sunday get_firstday.grates_yearweek_thursday get_firstday.grates_yearweek_tuesday get_firstday.grates_yearweek_wednesday get_n get_n.default get_n.grates_int_period get_n.grates_month get_n.grates_period get_offset get_offset.default get_offset.grates_period get_week get_week.default get_week.grates_epiweek get_week.grates_isoweek get_week.grates_yearweek get_year get_year.default get_year.grates_epiweek get_year.grates_isoweek get_year.grates_year get_year.grates_yearmonth get_year.grates_yearquarter get_year.grates_yearweek grouped_date_accessors
Integer-period class (Experimental)as_int_period as_int_period.default as_int_period.double as_int_period.integer int_period_class is_int_period new_int_period
ISO Week classas_isoweek as_isoweek.character as_isoweek.Date as_isoweek.default as_isoweek.factor as_isoweek.POSIXt isoweek isoweek_class is_isoweek new_isoweek
Month classas_month as_month.character as_month.Date as_month.default as_month.factor as_month.POSIXt is_month month_class new_month
Period classas_period as_period.character as_period.Date as_period.default as_period.factor as_period.POSIXt is_period new_period period_class
Format and print a month objectformat.grates_month print.grates_month
Print a period objectformat.grates_period print.grates_period
Format and print a yearmonth objectformat.grates_yearmonth print.grates_yearmonth
Epiweek scalescale_x_grates_epiweek
Integer-period scale (Experimental)scale_x_grates_int_period
Isoweek scalescale_x_grates_isoweek
Month scalescale_x_grates_month
Period scalescale_x_grates_period
Year scalescale_x_grates_year
Yearmonth scalescale_x_grates_yearmonth
Yearquarter scalescale_x_grates_yearquarter
Yearweek scalescale_x_grates_yearweek scale_x_grates_yearweek_epiweek scale_x_grates_yearweek_friday scale_x_grates_yearweek_isoweek scale_x_grates_yearweek_monday scale_x_grates_yearweek_saturday scale_x_grates_yearweek_sunday scale_x_grates_yearweek_thursday scale_x_grates_yearweek_tuesday scale_x_grates_yearweek_wednesday
Year classas_year as_year.character as_year.Date as_year.default as_year.factor as_year.POSIXt is_year year year_class
Yearmonth classas_yearmonth as_yearmonth.character as_yearmonth.Date as_yearmonth.default as_yearmonth.factor as_yearmonth.POSIXt is_yearmonth new_yearmonth yearmonth yearmonth_class
Yearquarter classas_yearquarter as_yearquarter.character as_yearquarter.Date as_yearquarter.default as_yearquarter.factor as_yearquarter.POSIXt is_yearquarter new_yearquarter yearquarter yearquarter_class
Yearweek classas_yearweek as_yearweek.character as_yearweek.Date as_yearweek.default as_yearweek.factor as_yearweek.POSIXt is_yearweek new_yearweek yearweek yearweek_class