Automated Data Collection with R: A Practical Guide to Web Scraping and Text Mining