extract_link: Extract link

Description Usage Arguments Value Examples

View source: R/extract_link.R

Description

extract_link .

Usage

1

Arguments

x

x An object, nominally a website loadded with readr::read_lines and passed to XML::htmlParse().

website

website Where the root of website is not given in the link, append the link portion to the root given by website.

Value

A character vector of size n>=1 which represent url links.

Examples

1
2
3
4
5
6
7
#library(dplyr)
#library(readr)
#library(XML)

#read_lines("http://www.google.co.uk") %>%
#htmlParse(encoding = "UTF8") %>%
#scrapeML::clean_string

ivyleavedtoadflax/scrapeML documentation built on May 18, 2019, 7:14 a.m.