Skip to contents

search script of president's speech. Data is form presidential archives of korea.

Usage

search_speech(
  keyword = "",
  searchField = 0,
  count = 10000,
  president = "",
  mediaType = c("doc", "mp3", "mp4", "all"),
  event = "",
  order = 1
)

Arguments

keyword

keyword to search. Default is all results. Accept character data type.

searchField

All:0, Title:1, Content:2, Place:3. Default is 0 means all parts. Accept numeric data type.

count

request number of results. Default is all. Accept numeric data type.

president

president to search. Default is all results. get_president provides available list. Accept character data type.

mediaType

mediaType

event

event to search. Default is all results. get_event provides available list. Accept character data type.

order

order of search results. Defaults is order by date. order by date:1, order by title character:2. Accept numeric data type.

Value

a [tibble][tibble::tibble-package] president, field, event, title, date, link

Examples

if (FALSE) {
splist <- search_speech(count = 20)
splist
}