livestockDisease: Ministry of Agriculture Food and Rural Affairs, Livestock's...

Description Usage Arguments Examples

View source: R/livestockDisease.R

Description

livestockDisease function import data about livestock's disease information. It provide name of disease, location of farm, the number of livestocks which get disease, and so on. This function need API key issued from 'data.mafra.go.kr', not 'data.go.kr'.

Usage

1
livestockDisease(key, fromDate = NULL, toDate = NULL, verbose = F)

Arguments

key

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

fromDate

date value. 8-digits date that start of searching period.

toDate

date value. 8-digits date that end of searching period.

verbose

logical value. if TRUE, provide process bar. Default value set as false.

Examples

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

 # example.
 data <- livestockDisease(key, as.Date('2019-10-01'), as.Date('2019-10-20'), verbose = T)

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