Skip to contents

sites_in_state_phase is a way of determining what siteids are associated with an ecosite state/phase.

Usage

sites_in_state_phase(veg_df)

Arguments

veg_df

a formatted vegetation dataframe created using formatted_veg_df

Value

a nested list of ecosites - states/phases - and the siteids associated with each state/phase

Examples

example_data <- access_example_data()
#> Error in access_example_data(): could not find function "access_example_data"
veg_df <- formatted_veg_df(static_location = example_data)
#> Error in formatted_veg_df(static_location = example_data): could not find function "formatted_veg_df"
# user-defined static location -
# veg_df <- formatted_veg_df(static_location = "C:/Users/Nathan.Roe/Documents/SEKI/CA792_veg_data.sqlite")
my_state_phase <- sites_in_state_phase(veg_df = veg_df)
#> Error: object 'veg_df' not found
head(my_state_phase)
#> Error: object 'my_state_phase' not found