socnet_list_archives: List SOCNET archives by month

View source: R/socnet.r

socnet_list_archivesR Documentation

List SOCNET archives by month

Description

List SOCNET archives by month

Usage

socnet_list_archives(url = SOCNET_ARCHIVES_WWW, cached = FALSE)

Arguments

url

Character scalar. SOCNET's listserv archive website.

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.

Value

A data frame in which each observation represents one archive website. The data frame has two columns:

  • url: The web address to that archive.

  • date: The date of the archive.

See Also

Other SOCNET webscrapping tools: socnet_list_subjects, socnet_parse_subject

Examples


# Listing what is available currently in the cached version.
archives <- socnet_list_archives(cached=TRUE)


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