read_wiki_raw: read_wiki_raw

Description Usage Arguments Value Examples

View source: R/read_table.R

Description

read_wiki_raw

Usage

1
read_wiki_raw(url, table_number = 1, replace_linebreak = ", ")

Arguments

url

A character vector of the url of a wikipedia page containing a table. Default is 1.

table_number

A numeric denoting which number table the desired table is on the page (e.g. the second table on the page)

replace_linebreak

A character string denoting what linebreaks within dataframe cells are to be replaced with. Default is ' ,'.

Value

Dataframe of wikipedia table

Examples

1
2
3
read_wiki_raw('https://en.wikipedia.org/wiki/List_of_most-followed_Instagram_accounts')
read_wiki_raw('https://en.wikipedia.org/wiki/List_of_cryptids', 3)
read_wiki_raw('https://en.wikipedia.org/wiki/List_of_Pixar_films')

jkeast/wikitablr documentation built on March 7, 2020, 7:48 a.m.