library(tidyverse)
library(lubridate)
library(DERTtools)

knitr::opts_chunk$set(echo = FALSE)
# db <- read_npds_notification_db(params$db)
db <- params$db
db[["notifications"]] <- params$db[["notifications"]] %>% filter(anomaly_date > params$start_date)
db_summary <- summarize_npds_db(db)
plots <- plot_summary(db_summary, type = "ggplot", n_years = 3)

About the report

This report is automatically generated based on the data contained in the NPDS notification database. The report gives a brief overview of the notifications sent to state epidemiologists when incidents of public health significance (IPHS) are detected in the National Poison Data System.

Summary

Notifications by year

plots[["n_by_year"]]

Notifications by state epidemiologists

Total

plots[["sent_to_state_epi"]]

By year

plots[["sent_to_state_epi_by_year"]]

Notifications by definition (type)

plots[["defintion_id"]]

Analysis of notes

Analyze words...

Data completness

plots[["data_completness"]]


renejuan/DERTtools documentation built on March 19, 2022, 7:20 a.m.