find_links: Find links

View source: R/find_links.R

find_linksR Documentation

Description

Scrape a web page for links.

Usage

find_links(urls, pattern = NULL, as_datatable = TRUE, workers = 1)

Arguments

urls

List of URLs to search for links on.

pattern

Regex pattern to search for files with.

as_datatable

Return the results as a data.table (default: TRUE), or a nested list (FALSE).

workers

Number of threads of parallelize across.

Value

A data.table or named list.

Examples

links <- find_links(
    urls="http://renlab.sdsc.edu/kai/Key_Processed_Data/ABC_scores/",
    pattern="\\.tsv\\.gz")

neurogenomics/PeakyFinders documentation built on Oct. 14, 2024, 3:09 p.m.