Collection function of all the articles on Benin

bn_news_collect(start_d, end_d, press = "all")

Arguments

start_d

yyyy-mm-dd start date of collection (oldest date, eg: yesterday)

end_d

yyyy-mm-dd end date of collection (newest date, eg: today)

press

specify the name of a press.

Value

a table containing the articles published in the period

Examples

library(afnews) dt_ <- bn_news_collect(start_d="2020-11-01", end_d="2020-11-10", press="all")
#> Done! #> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #> Done!
#> Warning: No article publish in this period !
head(dt_)
#> # A tibble: 0 x 3 #> # ... with 3 variables: date_article <date>, url_article <chr>, #> # title_article <chr>