Check that data has the columns and values needed to predict canopy
biomass with kb_predict_biomass_canopy(), which applies the same check to
its new_data.
Usage
kb_check_data_survey_canopy(
data,
x_name = chk::deparse_backtick_chk(substitute(data))
)Details
Each row is one canopy map of a site; a site-year may have several. Required columns:
site, the site mapped (any text).year, the year of the map (whole number or text).canopy_area_m2, the canopy area mapped (m², >= 0 and <= classified_area_m2).canopy_tide_height_m, the tide height when the canopy was imaged, relative to chart datum (m, any number).classified_area_m2, the water area the canopy classification covered, including water where no canopy was found (m², > 0).
Other columns are ignored.
Other grouping columns, such as region, can be named in pool_by.
See also
Other data checks:
kb_check_data_carbon_macro(),
kb_check_data_carbon_nereo(),
kb_check_data_cover_calibration_macro(),
kb_check_data_cover_calibration_nereo(),
kb_check_data_nitrogen_macro(),
kb_check_data_nitrogen_nereo(),
kb_check_data_size_census_macro(),
kb_check_data_size_census_nereo(),
kb_check_data_size_sample_nereo(),
kb_check_data_survey_in_situ(),
kb_check_data_weight_macro(),
kb_check_data_weight_nereo(),
kb_check_data_wetdry_macro(),
kb_check_data_wetdry_nereo(),
kb_data_columns(),
kb_datasets()