parse_dir: Parse dir

Description Usage Arguments Value Examples

View source: R/parse_dir.R

Description

clean_string clean a string extracted using XML::htmlParse()

Usage

1
parse_dir(source_dir, dest_dir)

Arguments

source_dir

source_dir Source directory in which downloaded html files are stored.

dest_dir

dest_dir Destination directory in which parsed websites will be stored.

Value

Nothing is returned from the fucntion, but for each input html file a parsed version will be produced in the dest_dir folder

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.