geocode_keyword_kakao: Geocode from KAKAO using keyword

Description Usage Arguments Value Examples

Description

geocode_keyword_kakao will get longitude and latitude from KAKAO api. it will use nomination or building name it will narrow range by category_group_code or radius.

Usage

1
2
geocode_keyword_kakao(keyword, kakao_key, category_group_code, lon, lat,
  radius, rect)

Arguments

keyword

it use nomination that you want to know it's latitude and longitude

kakao_key

you must input your KAKAO REST API key

category_group_code

tou can input this to narrow range

radius

you can input this to narrow range and the center of range is lon and lat

Value

latitude and longitude

Examples

1
2
3
  data("firestation")
  geocode_keyword_kakao(keyword = firestation[1, '소방서'], kakao_key = kakao_key, category_group_code = 'PO3')
  geocode_keyword_kakao(keyword = firestation[1, '소방서'], kakao_key = kakao_key, lon = 126.9, lat = 37.57, radius = 1000)

subinjo92/nkmap documentation built on May 29, 2019, 8:02 a.m.