find_unknown_with_measurements: Find records with unknown and measured values

View source: R/census_data_error.r

find_unknown_with_measurementsR Documentation

Find records with unknown and measured values

Description

Find records of a stem in a year with unknown and measured value(s).

Usage

find_unknown_with_measurements(
  census_data,
  stem_id_column = "stem_id",
  ld_column = "ld",
  deprecated_column = "修正済み",
  year_column = "year",
  unknown_code = "U",
  measurements = c("gbh", "cls")
)

Arguments

census_data

census data.

stem_id_column

a character specifying the column name of stem ID.

ld_column

a character specifying the column name of alive/dead/unknown status.

deprecated_column

a character specifying the column name of deprecated records.

year_column

a character specifying the column name of year.

unknown_code

a character specifying unknown code.

measurements

a character vector specifying the column names having measurements.

Value

a data.frame having records of stems having both unknown and measurements in a year. Returns NULL if no record was detected.


Marchen/r_ogawa documentation built on July 5, 2025, 6:29 a.m.