extractLinks: Function to extract all links of a given Url.

View source: R/extractLinks.R

extractLinksR Documentation

Function to extract all links of a given Url.

Description

This function allows you to extract all links of a given URL. You can specify if you just want unique Links or all. The output is a Data Frame.

Usage

extractLinks(url, linkType = "all", uniqueLinks = FALSE)

Arguments

url

The url you want to extract the Links of

linkType

The LinkType you want to analyze. All Links, Just Internal Links or Links to other Domains (external). You can specify "all","external" and "internal". Default is "all"

uniqueLinks

Logical. Extract unique Links as one is TRUE. Default is FALSE extractLinks()

Examples

extractLinks("https://www.r-project.org/", uniqueLinks = FALSE)

dschmeh/seoR documentation built on Jan. 7, 2023, 12:19 a.m.