create_localId_name: Create correspondence table localId

View source: R/access_api.R

create_localId_nameR Documentation

Create correspondence table localId

Description

Given the inputs, creates a localId. For internal use.

Usage

create_localId_name(
  source,
  target,
  year,
  year1 = year,
  year2 = year,
  date = "0101",
  date1 = date,
  date2 = date,
  nro1 = "_1_",
  nro2 = "_1_"
)

Arguments

source

character

target

character

year

integer

year1

integer

year2

integer

date

character defaults to "0101" which the most correspondence tables have.

date1

character

date2

character

nro1

character, defaults to "1".

nro2

character, defaults to "1".

Value

character

Examples


# Create a localId for the key that maps "kunta" to "maakunta" for year 2015
   create_localId_name("kunta", "maakunta", year = 2015)


pttry/statficlassifications documentation built on Jan. 17, 2024, 4:36 p.m.