- Inclusion of season in csfmt_rts_data_v2
- Inclusion of isoquarter and isoyearquarter in csfmt_rts_data_v2
- CRAN Submission.
- Removing
print.csfmt_rts_data_v1
.
cstidy::set_csfmt_rts_data_v1
is now 1.5x faster due to using the upgradedcstime
package that now uses binary searches. An 80 million row dataset is now processed in 2 minutes, instead of 3.
cstidy::set_csfmt_rts_data_v1
is now 6x faster due to using the upgradedcstime
package that now usescsutil::apply_fn_via_hash_table
. An 80 million row dataset is now processed in 3 minutes, instead of 20.
- Dataset norway_covid19_cases_by_time_location renamed to nor_covid19_cases_by_time_location_csfmt_rts_v1.
- Dataset norway_covid19_icu_and_hospitalization renamed to nor_covid19_icu_and_hospitalization_csfmt_rts_v1.
- In csfmt_rts_v1, age now uses underscores instead of hyphens so that valid variable names are generated when converting to wide-format.
- Dataset covid19_msis_cases_by_time_location renamed to norway_covid19_cases_by_time_location.
- In csfmt_rts_v1, the granularity_time for "an ongoing event" was changed from event_*9999_01_01 to event*_9999_09_09. This was done because isoyear for 9999-01-01 is 9998 (which is confusing), while isoyear for 9999-09-09 is 9999 (which makes sense).
- In csfmt_rts_v1, the missing value for sex and age was changed to "missing" instead of NA_character_. This was chosen because NA_character_ requires special manipulation functions (is.na) which makes post-processing of data less efficient for the end-user.
- In csfmt_rts_v1, cstidy::heal now works when granularity_time=='event_*'
- Dataset covid19_msis_cases_by_time_location included, containing number of Covid19 cases from MSIS registry. The locations are for both national and county level. The percentage per 100.000 population is included. The time period is between 2020-02-21 and 2022-05-03 (data extracted on 2022-05-04).
- Dataset norway_covid19_icu_and_hospitalization included, containing admissions to the ICU with a positive PCR test and number of new hospitalizations with Covid-19 as the primary cause between 2020-02-21 and 2022-05-03 (data extracted 2022-05-04).
- save_cs, read_cs functions to save/read data efficiently, allowing passwordless encryption.
- print.csfmt_rts_data_v1 now automatically rounds numerics to 4 decimal places
- unique_time_series function added.