linkCount: Function to retrive the number of outgoing links for a given...

View source: R/linkCount.R

linkCountR Documentation

Function to retrive the number of outgoing links for a given Url.

Description

This function allows you to get the number of outgoing links for a given URL.You can specify if you want to count same Links as one or not.

Usage

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

Arguments

url

The url you want to get the number of outgoing links for

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. Count unique Links as one is TRUE. Default is FALSE linkCount()

Examples

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

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