Skip to contents

Retrieve a versioned metadata classification codebook

Usage

nso_classification(id, include_raw = FALSE)

Arguments

id

Numeric metadata classification identifier.

include_raw

Retain the raw response in the metadata attribute.

Value

A tibble with character codes, definitions, parent codes, source, and version. Attributes contain the typed metadata, quality_flags, and completeness: "empty", "incomplete", or "unverified". Nonempty responses do not establish completeness. No cross-service geographic equivalence or administrative vintage is inferred.

Examples

if (FALSE) { # identical(Sys.getenv("NOT_CRAN"), "true") && curl::has_internet()
codes <- nso_classification(3446)
codes
attr(codes, "completeness")
attr(codes, "metadata")$version
}