Skip to contents

R package · Tidy surveillance data

Helpful functions for cleaning and manipulating surveillance data — especially creating and validating panel data from individual-level records.

Get started Browse the reference →

cstidy logo

Features

01

Standard data format

Apply set_csfmt_rts_data_v2() to stamp a dataset with the 18-column panel format used across Core Surveillance real-time pipelines.

02

Smart assignment

Assigning isoyear, isoyearweek, date, or location_code with := automatically fills all dependent time and geography columns.

03

Panel inspection

Check completeness with unique_time_series(), extend to a future time point with expand_time_to(), and plot column structure with identify_data_structure().