remove_silly_links: Remove useless links from ECOS-scraped webpage

Description Usage Arguments Value

Description

Expects a data.frame with an href variable for filtering. The default patterns are based on an examination of unfiltered link tables from ECOS species pages, but additional link patterns to be removed can be added using the optional patterns parameter, with the patterns using regex expressions expected by grepl.

Usage

1

Arguments

df

A data.frame with four columns, including href, link, and text

patterns

A list of additional patterns to be filtered out

Value

A filtered version of df


jacob-ogre/ecosscraper documentation built on May 18, 2019, 8 a.m.