KOSIS 통계 설명 가져오기
import_kosis_statexpl.Rd이 함수는 KOSIS 통계 설명 데이터를 데이터베이스 테이블로 가져옵(import)니다.
Usage
import_kosis_statexpl(
stat_id = NULL,
sleep = 0,
verbose = TRUE,
dbms = get_env("ecoDI_DBMS")
)Examples
# \donttest{
# Import KOSIS statistics explanation for a specific statistics ID
stat_id <- "1968005"
import_kosis_statexpl(stat_id = stat_id)
#> ℹ Importing KOSIS stat explain for stat ID: 1968005
#> ℹ KOSIS API URL: https://kosis.kr/openapi/statisticsExplData.do?method=getList&apiKey=&format=json&statId=1968005&metaItm=All&jsonVD=Y&jsonMVD=Y
#> ℹ No data retrieved for table ID: mt_kosis_statexpl. Import operation aborted.
#> Warning: There is a result object still in use.
#> The connection will be automatically released when it is closed
#> ℹ Imported record count: 0, column count: 0, status: 0
# }