getPages: Get information on the quantity and structure of fandom pages

Description Usage Arguments Value Examples

View source: R/getPages.R

Description

This function takes the output of the getURL function and generates information based on the amount of pages and the structure of the site.

Usage

1
getPages(returns)

Arguments

returns

list passed from getUrl function

Value

returns a list with 4 elements a boolean that returns TRUE if there are no pages associated with the URL a string that gives the pattern of the URLs of the pages a numeric with the total number of pages a string with the url passed to the function max.entries passed from getUrl

Examples

1
2
getPages(list(url="https://www.fanfiction.net/cartoon/Invader-Zim/", max.entries=NA))
getPages(list(url="https://www.fanfiction.net/game/Kingdom-Hearts/", max.entries=10))

ekmaus19/absentfan documentation built on Nov. 20, 2019, 3:20 a.m.