atPrice: Korea Agro-Fisheries & Food Trade Corporation, Price of food,...

Description Usage Arguments Details Examples

View source: R/atPrice.R

Description

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

Usage

1
atPrice(key, date, verbose = F)

Arguments

key

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

date

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

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'. Like episPrice, 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. The API key issued from 'data.mafra.go.kr' is needed, not from 'data.go.kr'.

Examples

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

 data <- atPrice(key, date = '20191210')

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