knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
공공데이터에서 제공하는 openAPI를 더 쉽게 사용하기 위한 패키지입니다.
# packages loading remotes::install_github("nackta/gdataopenAPI")
library(gdataopenAPI)
getNitemtradeList(ServiceKey='yourkey', startpoint='202001', endpoint='202012', hscode='3304', country='US')
library(knitr) library(dplyr) kable(read.csv('./data/ex_getNitemtradeList.csv') %>% head(2)) #tibble::tibble(read.csv('./data/ex_getNitemtradeList.csv')) %>% head()
각 변수에 대한 설명은 공공데이터 포털을 확인해주세요.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.