Learn R Programming

kokudosuuchi (version 1.0.0)

translateKSJData: Translate JPGIS2.1 Data

Description

translateKSJData() translates colnames and 'codelist'-type of columns to human-readable labels.

Usage

translateKSJData(
  x,
  id = NULL,
  variant = NULL,
  quiet = TRUE,
  translate_colnames = TRUE,
  translate_codelist = TRUE
)

Arguments

x

A list of sf objects.

id

An ID of the dataset (e.g. A03). This can be NULL if x is loaded by readKSJData().

variant

A type of variant in case the translation cannot be determined only by id.

quiet

If TRUE, suppress messages.

translate_colnames

If TRUE, translate colnames to human-readable labels.

translate_codelist

If TRUE, translate codes to human-readable labels.