Skip to main content

DataCompleteness

@nmi-agro/fdm-source


@nmi-agro/fdm-source / fdm-calculator/src / DataCompleteness

Interface: DataCompleteness

Defined in: fdm-calculator/src/mineralization/types.d.ts:38

Describes the quality and completeness of soil data for a given method. Used to inform the user how reliable the mineralization estimate is.

Properties

available

available: object[]

Defined in: fdm-calculator/src/mineralization/types.d.ts:43

Parameters that were found in the soil data, including optional metadata about the measurement source and date.

date?

optional date?: Date

Date the sample was taken

param

param: string

Parameter key (e.g. "a_som_loi")

source?

optional source?: string

Data source identifier (e.g. lab code or "nl-other-nmi" for estimated values)

value

value: string | number

The measured value


estimated

estimated: string[]

Defined in: fdm-calculator/src/mineralization/types.d.ts:56

Optional parameters that were absent and will be estimated by the API


missing

missing: string[]

Defined in: fdm-calculator/src/mineralization/types.d.ts:54

Required parameters that were not found in the soil data


score

score: number

Defined in: fdm-calculator/src/mineralization/types.d.ts:63

Overall completeness score from 0–100.

  • Required params account for 80 points (proportional).
  • Optional params account for 20 points (proportional).
  • Parameters sourced from NMI estimates ("nl-other-nmi") are not counted.