function to count samples per sentinel site

count_samples_by_sentinel_site(sample_metadata, add_total = FALSE)

Arguments

sample_metadata

A dataframe containing epi metadata (either on its own or joined to other metadata)

add_total

Boolean that determines whether to display a 'grand total' row

Value

Dataframe of sample counts