Skip to content

cstidy

Helpful Functions for Cleaning Surveillance Data

v2025.10.27 · Oct 27, 2025 · MIT + file LICENSE

Description

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.

Downloads

CRAN

684

Last 30 days

4908th

2.1K

Last 90 days

9K

Last year

Trend: -0.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

25

Last 90 days

130

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

6

Last 7 days

14

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

47 11 exported

Complexity

4.4 avg / 19 max

Call network

47 nodes / 45 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

4,590

Files

46

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,907 (63.3%)Docs 603 (13.1%)Vignettes 1,080 (23.5%)

API

Exported functions

12

Internal functions

33

Recent export changes

v2025.10.27+3 csfmt_rts_data_v2, heal_time_csfmt_rts_data_v2, set_csfmt_rts_data_v2  −2 csdb_validator_field_contents_csfmt_rts_data_v1, csdb_validator_field_types_csfmt_rts_data_v1
v2023.5.24+11 %>%, csdb_validator_field_contents_csfmt_rts_data_v1, csdb_validator_field_types_csfmt_rts_data_v1 +8 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

91.7%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

30

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2023-05-24

Latest release

2025-10-27

Avg cadence

887 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v2023.5.24: 3,457 LOCv2025.10.27: 4,590 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies data.table magrittr ggplot2 csdata cstime crayon digest stringr csalert cstidy

Version History

3 tracked
new 2025.10.27 Mar 10, 2026
updated 2025.10.27 ← 2023.5.24 diff Oct 26, 2025
new 2023.5.24 May 23, 2023