# NOT RUN {
# fetch all data, which may take time
estat_getStatsData(
appId = "XXXX",
statsDataId = "0003065345"
)
# fetch data up to 10 records
estat_getStatsData(
appId = "XXXX",
statsDataId = "0003065345",
limit = 10
)
# fetch data up to 100,000 records (max number of records available at once)
estat_getStatsData(
appId = "XXXX",
statsDataId = "0003065345",
.fetch_all = FALSE
)
# fetch all data in the specifed category
estat_getStatsData(
appId = "XXXX",
statsDataId = "0003065345",
cdCat01 = c("008", "009", "010")
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab