socnet_list_subjects: Retrieve the table with the links from a particular archive

View source: R/socnet.r

socnet_list_subjectsR Documentation

Retrieve the table with the links from a particular archive

Description

Retrieve the table with the links from a particular archive

Usage

socnet_list_subjects(url, cached = FALSE)

Arguments

url

Character scalar. A web address from a particular SOCNET listserv

cached

Logical scalar. When TRUE, the function will check whether the website is available in \Sexpr{system.file("cache", package="socnet")} and read that instead of downloading the current version of the website.

Details

Using cached=FALSE makes more sense if the user is trying to fetch versions of SOCNET that require update, for example, the "SOCNET archives" website itself.

See Also

Other SOCNET webscrapping tools: socnet_list_archives, socnet_parse_subject

Examples


# Getting the cached version of the list of archives
archives <- socnet_list_archives(cached=TRUE)

# We'll see what were the subjects (emails) during the latest archive,
# again, using a cached version of it
subjects <- socnet_list_subjects(archives$url[1], cached=TRUE)
head(subjects)


USCCANA/socnet documentation built on Aug. 17, 2022, 8:42 a.m.