get_text: The Economist get text

Description Usage Arguments Details Value Examples

View source: R/get_text.R

Description

Scrape the text of the selected article

Usage

1
get_text(link)

Arguments

link

is an element of the vector link or an url of The Economist

Details

You can use an element of the vector link to chose the articole you want to scrape

Value

A tibble of two variables the first one is the paragraph number and the second the text

Examples

1
get_text("united-states/2020/02/11/donald-trump-loosens-americas-restrictions-on-landmines")

unimi-dse/d15048e7 documentation built on Feb. 13, 2020, 1:35 a.m.