summary_by_taxon_groups: Summary by Taxon Groups

Description Usage Arguments Examples

View source: R/list_col_funs.r

Description

A function, which given some page data, tagged by taxon (where each page may relate to multiple taxons) can calculate summaries for groups of taxons

Usage

1
summary_by_taxon_groups(page_data, taxon_col, named_taxon_list, ...)

Arguments

page_data

a dataframe of page data, which includes

taxon_col
named_taxon_list
...

Examples

1
2
3
4
5
6
7
taxon_group_page_counts <-
summary_by_taxon_groups(
 page_data = pages_df, 
 taxon_col = taxons, 
 named_taxon_list = taxon_groups,
 n = n()
 ) 

mattmalcher/gov.uk.taxonomy documentation built on Jan. 25, 2020, 12:45 a.m.