KAParse: KAParse: Parse Korea address as per areas

Description Usage Arguments Details Value Examples

View source: R/KAParse.R

Description

This function is to parse Korea address string as per administrative areas.

Usage

1
KAParse(dfDirtyJuso, columnName)

Arguments

dfDirtyJuso

Input data frame

columnName

column name of input data frame, which will be parsed

Details

KAParse read only the column which is pointed by columnName parameter, and add new columns for administrative areas such as SiDoMyeong, SiGunGuMyeong. If we can't find appropriated administrative area, we mark 'x' to its corresponding column.

Value

data frame is reaturned and it have administrative areas as new columns

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Please visit below to see the correct example.
# https://github.com/skysign/KoreaAddressAPI/blob/master/examples/KRA_example.rmd
#
# To pass build without error, we should not describe anything in Korean, here.

library(KoreaAddressAPI)

dirtyJuso = c('',
              '')
dfDirtyJuso = data.frame(dirtyJuso)
dfDirtyJuso

dfCleaned = KAParse(dfDirtyJuso, 'dirtyJuso')
dfCleaned

skysign/KoreaAddressAPI documentation built on July 20, 2020, 9:08 p.m.