Check that data contains the columns required to fit the Macrocystis
pyrifera weight model, with appropriate types and values.
Usage
kb_check_data_weight_macro(
data,
x_name = chk::deparse_backtick_chk(substitute(data))
)Details
Required columns:
fronds, the number of fronds reaching 1 m above the holdfast (whole number >= 1).weight_kg, the plant's weight (kg, > 0).site, the site the plant was sampled at (any text).year, the year the plant was sampled (whole number or text).
Other columns are ignored.
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_canopy(),
kb_check_data_survey_in_situ(),
kb_check_data_weight_nereo(),
kb_check_data_wetdry_macro(),
kb_check_data_wetdry_nereo(),
kb_data_columns(),
kb_datasets()