rvest VS huxtable

Compare rvest vs huxtable and see what are their differences.

huxtable

An R package to create styled tables in multiple output formats, with a friendly, modern interface. (by hughjonesd)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
rvest huxtable
13 2
1,470 311
1.1% -
7.2 7.8
about 2 months ago 2 months ago
R R
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

rvest

Posts with mentions or reviews of rvest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-09.
  • Collecting Data from News Articles using Web Scraping - Help
    1 project | /r/rstats | 1 Jun 2023
    You’re looking for the rvest package
  • PSA: You don't need fancy stuff to do good work.
    10 projects | /r/datascience | 9 May 2023
    Before diving into advanced machine learning algorithms or statistical models, we need to start with the basics: collecting and organizing data. Fortunately, both Python and R offer a wealth of libraries that make it easy to collect data from a variety of sources, including web scraping, APIs, and reading from files. Key libraries in Python include requests, BeautifulSoup, and pandas, while R has httr, rvest, and dplyr.
  • Average price of an ounce of medium/high-quality marijuana in each U.S. state, April 2023 [OC]
    3 projects | /r/dataisbeautiful | 28 Apr 2023
    Tools: R + Rvest to scrape and clean the data. D3 to create the map. Svelte to put it all together.
  • Estoy haciendo un DDoS?
    1 project | /r/programacion | 23 Apr 2023
  • AHR Summoning Statistics: 40 Summons and First Summon
    3 projects | /r/OrderOfHeroes | 19 Mar 2023
    so ik R has packages and native functions to help bypass this manual process. Eg scraping the wiki / gamepress unit list with Rvest may prove easier, furthermore you can specify web based sources when reading data. I'm not giga familiar with doing either myself, but maybe you can scrape data from the wikis or from repositories like the feh assets 1. But if youre able to set up a simple R script to read in new data and transform / clean it and save manual updates every 2 weeks
  • Webscraping Google Search results and extracting the urls
    2 projects | /r/webscraping | 16 Feb 2023
    There are very similar tools in R that I cover in that tutorial. For example, rvest or xml2 should be able to do the job as both of them support XPath selectors (you can take the ones from the article - they should work in R too).
  • Made an app where you can search for money diaries by location or income
    5 projects | /r/MoneyDiariesACTIVE | 7 Nov 2022
    To get the data from the website, I need to use the package (a set of R code someone created and shared that's designed for a certain task) rvest, then I did a bunch of data munging in R to pull out the location/salary/age/etc. I saved that in a dataset and then used another package flexdashboard to make a webpage which I can essentially "one-click" publish using a free tool called RPubs.
  • Used Cars Data Scraping - R & Github Actions & AWS
    2 projects | dev.to | 11 Sep 2022
    It came up with the idea of how to combine Data Engineering with Cloud and automation. I needed to find a data source as it would be an automated pipeline, so I needed a dynamic source. At the same time, I wanted to find a site where I thought retrieving data would not be a problem and do practice with both rvest and dplyr. After I had no problems with my experiments with Carvago, I added the necessary data cleaning steps. Another thing I aimed for in the project was to keep the data in different ways in different environments. While raw (daily CSV) and processed data were written to the Github repo, I wrote the processed data to PostgreSQL on AWS RDS. In addition, I sync the raw and processed data to S3 to be able to use it with Athena. However, I have separated some stages for GitHub Actions to be a good practice. For example, in the first stage, I added synchronization with AWS S3 as a separate action while scraping data, cleaning, and printing fundamental analysis to a simple log file. If there is no error after all this, I added a report with RMarkdown and the action that will be published on github.io. Thus, I created an end-to-end data pipeline where the data from the source is made to offer basic reporting with simple processing.
  • Saving the Text from a News Article in R?
    1 project | /r/rstats | 27 Aug 2022
    I would try some more nuanced web scraping with a package like rvest
  • How to convert large xml file to csv/sheet format
    2 projects | /r/rstats | 22 Aug 2022
    1) Use rvest to extract the contents of the XML file (i.e. loop over top-level nodes and pull any variable you're interested in into a column).

huxtable

Posts with mentions or reviews of huxtable. We have used some of these posts to build our list of alternatives and similar projects.
  • What type of table is this, and is there a way to do this in R?
    1 project | /r/RStudio | 6 Dec 2023
    As for styling, I highly recommend the huxtable package. You can style rows, columns, and individual cells however you want. It uses dplyr pipelining, if you’re familiar with that, so it’s super intuitive to use too.
  • Web4 Should Run on LaTeX
    1 project | news.ycombinator.com | 28 Nov 2021
    I wrote a little R package to write tables. I knew what HTML tables and Word tables could do. I wrote the interface to use all those features. LaTeX nerds were super proud of their tables. Should be easy to reimplement the features in TeX, right?

    https://github.com/hughjonesd/huxtable/blob/master/R/latex.R

    TeX is an abomination from hell.

What are some alternatives?

When comparing rvest and huxtable you can also consider the following projects:

r-web-scraping-cheat-sheet - Guide, reference and cheatsheet on web scraping using rvest, httr and Rselenium.

groundhog - Reproducible R Scripts Via Date Controlled Installing & Loading of CRAN & Git Packages

r4ds - R for data science: a book

papaja - papaja (Preparing APA Journal Articles) is an R package that provides document formats to produce complete APA manuscripts from RMarkdown-files (PDF and Word documents) and helper functions that facilitate reporting statistics, tables, and plots.

pokemon-games-ratings - Dataset and visualizations of Pokemon Game Ratings, from scraping metacritic.com.

lmForc - R package for evaluating linear forecasting models.

blackmagic - 🎩 Automagically Convert XML to JSON an JSON to XML

docxtractr - :scissors: Extract Tables from Microsoft Word Documents with R

money_diaries - An interactive web app for searching and filtering money diaries

targets - Function-oriented Make-like declarative workflows for R

flexdashboard - Easy interactive dashboards for R

shiny.i18n - Shiny applications internationalization made easy