Daily round

Run every table and the alerts of the last day in one call.

run_monitor()

Monitor the Stations over the Last Days

Daily tables

One row per station, house or pig and day of the window, also for days without any visit; and the hours of one day.

monitor_stations()

Daily Table per Station

monitor_houses()

Daily Table per House

monitor_pigs()

Daily Table per Pig

monitor_hours()

Hourly Table per Station for One Day

wide_table()

One Measure as a Wide Table

Plots

One plot per station - trend, feed intake heat map, body weights, hours of the day.

plot_monitor()

Plot the Monitor, One Plot per Station

save_monitor_plots()

Save Monitor Plots to Files

Export

An HTML report to browse station by station, and an Excel workbook or CSV files.

write_monitor_report()

Write an HTML Report to Browse Station by Station

write_monitor_tables()

Write the Monitor Tables to Excel or CSV

Run every day

Write the monitor script and schedule it (Windows Task Scheduler or cron).

schedule_monitor()

Run the Monitor Every Day

Read and prepare station data

Re-exported from tidypptsda.

reexports read_station prep_visits

Read and Prepare Station Data (from tidypptsda)