Skip to contents

R package · cs9 skeleton

A minimal but complete cs9 implementation. Three weather tasks download, clean and plot, with the database tables, validators, skeletons and task registration a real surveillance system needs — and nothing else.

Browse the reference Read the cs9 introduction →

cs9example logo

What’s inside

01

Three tasks, each feeding the next

Download a MET Norway forecast per municipality, clean it into daily and weekly series aggregated up to county and nation, then plot each county. Every task’s output table is the next one’s input.

02

An action and a data selector

The data selector runs once per plan and returns a named list read from the database. The action takes that list plus its argset and does the work: a table write, or a file on disk.

03

Validated tables, complete skeletons

Two tables hold the raw and the cleaned weather, both checked by the csfmt_rts_data_v2 validators. make_skeleton_date() lays out the full location-by-date grid first, so a gap stays a visible row.