dmoz_cat: Get Category from DMOZ

Description Usage Arguments Value Examples

View source: R/dmoz_cat.R

Description

Fetches category (or categories) of content hosted by a domain according to DMOZ. The function checks if path to the DMOZ file is provided by the user. If not, it looks for dmoz_domain_cateory.csv in the working directory. It also returns results for prominent subdomains.

Usage

1
dmoz_cat(domains = NULL, use_file = NULL)

Arguments

domains

vector of domain names

use_file

path to the dmoz file, which can be downloaded using get_dmoz_data

Value

data.frame with original list and content category of the domain

Examples

1
2
3
4
5
## Not run: 
dmoz_cat(domains="http://www.google.com")
dmoz_cat(domains=c("http://www.google.com", "http://plus.google.com"))

## End(Not run)

rdomains documentation built on May 29, 2017, 3:49 p.m.

Search within the rdomains package
Search all R packages, documentation and source code