Check a Nereocystis size census
Source:R/kb_check_data_size_census_nereo.R
kb_check_data_size_census_nereo.RdCheck that data has the columns and values of a census of every
Nereocystis luetkeana plant counted by in situ surveys, for
kb_predict_biomass_in_situ().
Usage
kb_check_data_size_census_nereo(
data,
x_name = chk::deparse_backtick_chk(substitute(data))
)Details
Each row is one counted plant; its site and year are those of its survey. Required columns:
survey_id, the survey the plant was counted in (a survey_id of the in situ data).diameter_mm, the plant diameter, measured as in the weight data (mm, > 0).
Optional columns:
partial, whether the plant counts as half, such as a plant on the edge of a transect (TRUE or FALSE).
Other columns are ignored.
See also
kb_check_data_size_sample_nereo() for a sample measured for the
size model.
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_sample_nereo(),
kb_check_data_survey_canopy(),
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()
Examples
size_census <- data.frame(
survey_id = "s1", diameter_mm = c(32, 41), partial = c(FALSE, TRUE)
)
kb_check_data_size_census_nereo(size_census)