Package: cstidy 2023.5.24

Richard Aubrey White

cstidy: Helpful Functions for Cleaning Surveillance Data

Helpful functions for the cleaning and manipulation of surveillance data, especially with regards to the creation and validation of panel data from individual level surveillance data.

Authors:Richard Aubrey White [aut, cre], CSIDS [cph]

cstidy_2023.5.24.tar.gz
cstidy_2023.5.24.zip(r-4.5)cstidy_2023.5.24.zip(r-4.4)cstidy_2023.5.24.zip(r-4.3)
cstidy_2023.5.24.tgz(r-4.5-any)cstidy_2023.5.24.tgz(r-4.4-any)cstidy_2023.5.24.tgz(r-4.3-any)
cstidy_2023.5.24.tar.gz(r-4.5-noble)cstidy_2023.5.24.tar.gz(r-4.4-noble)
cstidy_2023.5.24.tgz(r-4.4-emscripten)cstidy_2023.5.24.tgz(r-4.3-emscripten)
cstidy.pdf |cstidy.html
cstidy/json (API)
NEWS

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

Bug tracker:https://github.com/csids/cstidy/issues

Pkgdown site:https://www.csids.no

Datasets:

On CRAN:

Conda:

csverse

4.65 score 1 packages 804 downloads 12 exports 35 dependencies

Last updated 10 months agofrom:642d49b2f8. Checks:9 OK. Indexed: yes.

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

Exports:%>%csfmt_rts_data_v1csfmt_rts_data_v2expand_time_togenerate_test_dataheal_time_csfmt_rts_data_v1heal_time_csfmt_rts_data_v2identify_data_structureremove_class_csfmt_rts_dataset_csfmt_rts_data_v1set_csfmt_rts_data_v2unique_time_series

Dependencies:clicolorspacecrayoncsdatacstimedata.tabledigestfansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalesstringistringrtibbleutf8vctrsviridisLitewithr

Benchmarks

Rendered frombenchmarks.Rmdusingknitr::rmarkdownon Mar 11 2025.

Last update: 2023-04-26
Started: 2023-04-25

Data format (csfmt_rts_data_v2)

Rendered fromcsfmt_rts_data_v2.Rmdusingknitr::rmarkdownon Mar 11 2025.

Last update: 2023-12-28
Started: 2023-12-28

Introduction

Rendered fromcstidy.Rmdusingknitr::rmarkdownon Mar 11 2025.

Last update: 2023-12-28
Started: 2023-01-16

Readme and manuals

Help Manual

Help pageTopics
Expand time toexpand_time_to
Generate test datagenerate_test_data
Provides corresponding healed times (deprecated)heal_time_csfmt_rts_data_v1
Provides corresponding healed timesheal_time_csfmt_rts_data_v2
Hash the data structure of a dataset for a given columnidentify_data_structure identify_data_structure.csfmt_rts_data_v2 identify_data_structure.tbl_Microsoft SQL Server
Covid-19 data for PCR-confirmed cases in Norway (nation and county)nor_covid19_cases_by_time_location_csfmt_rts_v1
Norwegian Covid-19 data for ICU and hospitalizationnor_covid19_icu_and_hospitalization_csfmt_rts_v1
Remove class csfmt_rts_data_*remove_class_csfmt_rts_data
Convert data.table to csfmt_rts_data_v1 (deprecated)csfmt_rts_data_v1 set_csfmt_rts_data_v1
Convert data.table to csfmt_rts_data_v2csfmt_rts_data_v2 set_csfmt_rts_data_v2
Unique time seriesunique_time_series