How to "merge" all rows into one in a list - to perform SA on a corpus

HI there,

It's very difficult to know what it is you like to do if we don't have any data to work with. Could you recreate the issue using some public web pages as input? For example, the text on this page can be extracted like so:

library(rvest)
page = read_html("https://forum.posit.co/t/how-to-merge-all-rows-into-one-in-a-list-to-perform-sa-on-a-corpus/131677")
page = html_text(page)

Try and create an example where we can run some of your code then show us where it goes wrong and what you like as a solution. You can read this guide for more info on how to create this reprex. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here:

Good luck
PJ