episPrice: Korea Agency of Education, Promotion and Informaion Service...

Description Usage Arguments Details Examples

View source: R/episPrice.R

Description

episPrice function import price of food, agriculture, forestry and fisheries. It provide similar data to atPrice function but have different survey source.

Usage

1
episPrice(key, date, items, verbose = F)

Arguments

key

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

date

character value. date which expressed like YYYYMMDD. no default.

items

numeric value. item code in epis_items data.

verbose

logical value. If TRUE, show process bar. Default is set as FALSE.

Details

The date arguments should be set as YYYYMMDD type like '20181203'. The survey of food, agriculture, forestry and fisheries is not excuted on weekend. So if you insert sunday, saturday or holiday date in date argument, there will be no return.

Examples

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

 data <- episPrice(key, date = '20191203', items = head(unique(epis_items$itemCode)))

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