Skip to contents

Attempts to expand the dataset to include more time

A time series is defined as a unique combination of:

  • granularity_time

  • granularity_geo

  • country_iso3

  • location_code

  • border

  • age

  • sex

  • *_id

  • *_tag

Usage

expand_time_to(
  x,
  max_isoyear = NULL,
  max_isoyearweek = NULL,
  max_date = NULL,
  ...
)

Arguments

x

An object of type csfmt_rts_data_v2

max_isoyear

Maximum isoyear

max_isoyearweek

Maximum isoyearweek

max_date

Maximum date

...

Not used.

Value

csfmt_rts_data_v2, a larger dataset that includes more rows corresponding to more time.