Learn R Programming

LIHKGr (version 0.1.0)

create_lihkg: Create a lihkg scraper

Description

This function creates a lihkg scraper

Usage

create_lihkg(..., verbose = FALSE)

Arguments

...

parameters to be passed to RSelenium::rsDriver(). For example, you can use create_lihkg(browser = "firefox", port = sample(10000:60000, 1)) to generate a Selenium instance of Firefox.

verbose

logical, whether debug information is printed out.

Value

a lihkg scraper

Examples

Run this code
# NOT RUN {
lihkg <- create_lihkg(browser = "firefox", port = sample(10000:60000, 1))
# }

Run the code above in your browser using DataLab