translateKSJData: Translate JPGIS2.1 Data

Description Usage Arguments

View source: R/translateKSJData.R

Description

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

Usage

1
2
3
4
5
6
7
8
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.


kokudosuuchi documentation built on Feb. 23, 2021, 5:06 p.m.