nasCandidate: National Assembly Secretariat, candidate data.

Description Usage Arguments Examples

View source: R/nasCandidate.R

Description

nasCandidate function import profile of election candidates.

Usage

1
2
nasCandidate(key, election_id = NULL, election_type = NULL,
  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.

election_type

numeric value. the election type.

is_pre

boolean value. if TRUE, import pre-candidates data.

Examples

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

 # example.
 data <- nasCandidate(key, election_id = '20180613', election_type = 4)

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