Creates a when
object.
Arguments
- name
A string, table name.
- type
A string, type of calendar (NULL, 'iso', 'epi' or 'time').
- locale
A locale, to use for day and month names.
- start
A string, start of the period to be included in the dimension.
- end
A string, end of the period to be included in the dimension.
- values
A vector of string.
- ...
Rest of boolean configuration parameters.
Details
Using the parameters of this function we can configure practically all the elements of the dimension. Alternatively, we can use the configuration functions to define the available options.
We discuss the parameters in each of the specific configuration functions.
See also
Other dimension definition:
define_characteristics()
,
define_instances()
,
get_attribute_definition_function()
,
get_day_part()
,
get_week_date_range()
,
select_date_levels()
,
select_day_level()
,
select_month_level()
,
select_quarter_level()
,
select_semester_level()
,
select_time_level()
,
select_week_level()
,
select_year_level()
,
set_attribute_definition_function()
,
set_day_part()