Skip to content

Releases: feddelegrand7/ralger

ralger 2.2.2

18 Feb 22:28
Compare
Choose a tag to compare
  • Adding the attribute_scrap()
  • Adding the images_noalt_scrap()
  • I've added skip_on_cran on some tests that require an internet connexion and take an important amount of time to run.

ralger 2.2.1

11 Jan 09:23
Compare
Choose a tag to compare
  • Adding the images_scrap() function which allows the user to download images from a website
  • Adding the images_preview() function which allows the user to list the images url from a specific web page
  • Wrapping paragraphs_scrap() within a tryCatch function.
  • adding the string::stri_remove_empty() to the scrap() function in order to remove empty elements

ralger 2.2.0

09 Nov 13:21
Compare
Choose a tag to compare

I have wrapped ralger functions inside a tryCatch() function. Now ralger detects catches the following errors:

  • No internet connection: In this case, ralger displays a message and returns NA
  • Invalid link: package's functions display an informative message and returns also NA

ralger 2.1.0

09 Oct 21:09
Compare
Choose a tag to compare
  • I've changed the message printed when using the askRobot argument, which is now more precise.

  • I've cleaned considerably the code.

  • I've replace the str_detect function from string by the grepl base R function which provides the ability to enable/disable case sensitive character searching.

  • I've added new tests.

  • I've added the h3 html tag to the titles_scrap function. Now when executed the user gets the h1, h2 and h3 elements from a web page (h1 and h2 only before)

ralger 2.0.1

24 Jul 11:43
Compare
Choose a tag to compare

1- Thanks to Ezekiel (ctb) I've added an argument to the table_scrap() function which is fill (the argument is from the rvest package), the user has now the ability to set fill = TRUE when dealing with tables with inconsistent number of columns/rows.