build_taxon_df: Build Taxon Dataframe

Description Usage Arguments Examples

View source: R/content_api_funs.r

Description

A wrapper function around 'get_taxon_df' which works from the starting taxons (gov.uk & gov.uk/world/all) and then recursively on child taxons to build a complete taxonomy tree dataframe.

Usage

1
2
3
4
5
build_taxon_df(
  include_world = TRUE,
  filter_world_help_services = TRUE,
  max_levels = Inf
)

Arguments

include_world

include the world taxonomy tree? i.e. taxons below world/all

filter_world_help_services

Filter the world taxon to remove "help & services in

max_levels

maximum number of levels to go down the taxon

Examples

1
build_taxon_df(max_levels = 2)

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