Description Usage Arguments Value Note Examples
Calculates the number of each pathogen found on a given date for each site and instrument version (also for all instrument versions combined). To reduce the size of the output, pathogens are not listed on dates they were not detected.
1 | calc_count_by_site_inst(df, target_PouchTitle = "Respiratory_Panel")
|
df |
Data frame that has been processed by |
target_PouchTitle |
Name of the PouchTitle of interest |
Dataframe with columns "SiteID", "date", "daily_count" (number of tests positive for that pathogen that day), "TargetName" (name of pathogen, and "InstrumentVersion" (either the name of the instrument, or 'all', for all instrument versions combined)
This function is slow and can take at least several minutes to run when large dataframe is used.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.