Learn R Programming

sweidnumbr (version 1.5.0)

pin_birthplace_internal: pin_birthplace_internal

Description

Internal computation of birthplace (one for each pin)

Usage

pin_birthplace_internal(pin, birth_vector, birth_other_text)

Value

Character element containing birthplace

Arguments

pin

Character element with pin at standard format 'YYYYMMDDNNNC'. See as.pin.

birth_vector

Vector mapping birth number to birthplace. See pin_birthplace.

birth_other_text

Text to return if born >= 1990. See pin_birthplace.