Event identifiers for observation.
Syntax: @event(h[, b])
h: string
b: (optional) string
Return: series
where h is the one-off event specification and b is a basis specification.
Returns the proportion or identifier of a one-off event covered by the observation, for each observation in the workfile. If the workfile has a regular frequency and spans the entire event, the returned series will sum to one over all observations. If the workfile is irregular or does not span the entire event, the series may sum to less than one due to the observations that have been omitted.
The optional basis parameter may be used to specify that only certain days of the week or times of the day should be included as part of the holiday. This parameter has the format
"start_weekday-end_weekday[, start_time-end_time]"
e.g. “mon-thu” or “mon-sun,10am-4pm”.
@event is similar to
@holiday, but handles only a single non-repeating date or date range and only the basis option.
Examples
"1980Q3"
Cross-references
See
“Event Function” for extensive discussion. See also
@holiday.