generate_state_report_text: generate_state_report_text

Description Usage Arguments Value Examples

View source: R/generate_state_report_text.R

Description

This is a sample function for generating summary statistics and text for bad neighbor results.

Usage

1
generate_state_report_text(target_state, group_name, df)

Arguments

target_state

a string. The name of the state to process

group_name

a string. The name of the taxonomic group to process.

df

a tibble. Summary results from the process_bad_neighbor_group function.

Value

a string. A paragraph of formatted text.

Examples

1
2
3
4
# load the saved file
comb_all_results_insects <- readr::read_csv("result_csv/insects_comb_result.csv")

generate_state_report_text("Colorado", group_name = "Insect", comb_all_results_insects)

usgs-bis/bad-neighbor-invasives documentation built on Sept. 26, 2019, 7:34 a.m.