tropr (version 0.1.2)

trope_data: Fetch trope data

Description

Fetch trope data

Usage

trope_data(trope_urls, cache_dir = tempdir(), sleep = 0.5, verbose = F)

Arguments

trope_urls

url of tv trope pages

cache_dir

a directory for data caching

sleep

wait time between queries

verbose

verbosity option

Value

data.frame which contains trope data

Examples

Run this code
library(tropr)

.urls <- c("http://tvtropes.org/pmwiki/pmwiki.php/Main/SenseiChan",
           "http://tvtropes.org/pmwiki/pmwiki.php/Main/YouAreBetterThanYouThinkYouAre")

res <- trope_data(.urls)

Run the code above in your browser using DataCamp Workspace