Skip to contents

Calculate the number of teams per dataset for a given subset

Usage

calc_teams_per_dataset(data, subset_name = character(1L))

Arguments

data

A tibble containing the data to be analysed.

subset_name

A character vector of length 1, the name of the subset of data being analysed.

Value

A tibble containing the number of teams per dataset for a given subset_name.

Examples

ManyEcoEvo::ManyEcoEvo %>%
  select(data) %>%
  unnest(everything()) %>%
  prepare_df_for_summarising() %>%
  calc_teams_per_dataset("all")
#> Error in unnest(., everything()): could not find function "unnest"