Learn R Programming

Ricetl (version 0.2.5.1)

id2address: Extraction Address

Description

Extraction of age in the resident identity cards of People's Republic of China.

Usage

id2address(x,fillna=NA)

Arguments

x

A vector containing 18 Bit ID numbers,id2age.

fillna

The filling value of the missing value,the default value is NA,id2age.

Examples

Run this code
# NOT RUN {
library(Ricetl)
x <- c('654003198111200241','341881197709275718',
'340503199401248097','469030199406204103','51110019')
id2address(x)
id2address(x,fillna='Error')

# }

Run the code above in your browser using DataLab