
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.
linkCount(url, linkType = "all", uniqueLinks = FALSE)
The url you want to get the number of outgoing links for
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"
Logical. Count unique Links as one is TRUE. Default is FALSE linkCount()
# NOT RUN {
linkCount("https://www.r-project.org/", linkType = "all", uniqueLinks = FALSE)
# }
Run the code above in your browser using DataLab