Learn R Programming

DNH4 (version 0.1.12)

getSubCategory: Get News Sub Categories

Description

Get daum news sub category names and urls recently.

Usage

getSubCategory(categoryUrl = "society", fresh = FALSE)

Arguments

categoryUrl

Main category url in daum news. Only 1 value is passible. Default is society.

fresh

If TRUE, get data from internet. Default is FALSE which is return with cache.

Value

Get data.frame(chr:sub_cate_name, chr:url).

Examples

Run this code
# NOT RUN {
  getSubCategory()
  getSubCategory("politics")
# }

Run the code above in your browser using DataLab