powered by
Get naver news sub category names and urls recently.
getSubCategory(sid1 = 100, onlySid2 = TRUE)
a [tibble][tibble::tibble-package]
Main category id in naver news url. Only 1 value is passible. Default is 100 means Politics.
sid2 is sub category id. some sub categories don't have id. If TRUE, functions return data.frame(chr:sub_cate_naem, char:sid2). Defaults is TRUE.
if (FALSE) { getSubCategory(100) getSubCategory(100, FALSE) }
Run the code above in your browser using DataLab