nasPolling: National Assembly Secretariat, polling place data.

Description Usage Arguments Examples

View source: R/nasPolling.R

Description

nasPolling function import information such as address, name and so on about polling place.

Usage

1
2
nasPolling(key, election_id = NULL, localeName = enc2utf8("서울"),
  is_pre = FALSE)

Arguments

key

character value. API key issued from <www.data.go.kr>. no default.

election_id

character value. the election id which means election date.

localeName

character value. Korean Si/Do name.

is_pre

boolean value. If you want to get data of early voting place, set TRUE.

Examples

1
2
3
4
5
 key <- 'your key issued from data.go.kr'

 # example.
 data <- nasPolling(key, election_id = '20190403',
                    localeName = enc2utf8('서울'))

lawine90/datagokR documentation built on Sept. 24, 2020, 9:42 p.m.