get-started.Rmd
There are three main families of functions in afnews:
General tools: these functions allow you to check the existence of a web url in https, htpp or not. They also allow to set tables, vector, matrices of different sizes (columns).
Function of collecting articles on many press.
Main functions of collecting news from articles collected or urls provided.
url_exists()
:url_exists("https://armelsoubeiga.github.io/afnews/index.html",non_2xx_return_value = FALSE, quiet = FALSE) #> [1] TRUE
This returns TRUE if the url in parameter exists. The function also checked the HTTP code is not in the range 2xx
, the default is to return <
cbind_na ()
function:Note that the plus or minus lines are replaced by NA.