get_status: Extract Residence Status from the Personal Numeric Code

Description Usage Arguments Value Examples

View source: R/get_status.R

Description

Extract Residence Status from the Personal Numeric Code

Usage

1
get_status(cnp, lang = c("RO", "EN"))

Arguments

cnp

a 13-digit number (or a vector of 13-digit numbers) representing the Personal Numeric Code - CNP

lang

a string denoting the language for the status - either RO for Romanian (the default) or EN for English.

Value

a string denoting residence status in the language of choice

Examples

1
2
3
4
5
6
get_status(6201206018078)
get_status(5201206346491)
get_status(1940616346114)
get_status(1940616346114, lang = "EN")
get_status(7041218318525)
get_status(7041218318525, lang = "EN")

rocnp documentation built on Nov. 5, 2021, 9:11 a.m.