shalla_cat: Get Category from Shallalist

View source: R/shalla_cat.R

shalla_catR Documentation

Get Category from Shallalist

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

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

Details

Shallalist stopped publishing in 2022, so these labels describe the domain as it was then or earlier, not as it is now. The returned source_last_published column carries that vintage, and a warning is issued once per session. See source_vintage.

Value

data.frame with the original list, the content category of the domain, and the vintage of the list that supplied it

See Also

source_vintage for the provenance of every category source

Examples

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

## End(Not run)

rdomains documentation built on Aug. 2, 2026, 9:07 a.m.