Description Usage Arguments Details Examples
episPrice function import price of food, agriculture, forestry and fisheries. It provide similar data to atPrice function but have different survey source.
1 |
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. |
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.
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)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.