shalla_cat: Get Category from Shallalist

Description Usage Arguments Value Examples

View source: R/shalla_cat.R

Description

Fetches category of content hosted by a domain according to Shalla. The function checks if path to the shalla file is provided by the user. If not, it looks for shalla_domain_category.csv in the working directory.

Usage

1
shalla_cat(domains = NULL, use_file = NULL)

Arguments

domains

vector of domain names

use_file

path to the latest shallalist file downloaded using get_shalla_data

Value

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

Examples

1
2
3
4
## Not run: 
shalla_cat(domains = "http://www.google.com")

## End(Not run)

rdomains documentation built on Nov. 4, 2021, 9:07 a.m.