get_status {rocnp}R Documentation

Extract Residence Status from the Personal Numeric Code

Description

Extract Residence Status from the Personal Numeric Code

Usage

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

get_status(6201206018078)
get_status(5201206346491)
get_status(1940616346114)
get_status(1940616346114, lang = "EN")
get_status(7041218318525)
get_status(7041218318525, lang = "EN")

[Package rocnp version 0.1.0 Index]