Before we Start


Figure 1

Screenshot of the RStudio_startup screen

Figure 2

Example of a working directory structure

Figure 3

Screenshot of Packages pane

Figure 4

Screenshot of Install Packages Window

Creating a WebpageIntroduction


Introduction: What is web scraping?


Figure 1

Screenshot of the South African Parliament website{alt=Image showing top part of the South African parliament webite https://www.parliament.gov.za/group-details}


Figure 2

Screenshot of the Brazilian Senate members website{alt=Image of the top of the Brazilian Senate members website https://www.parliament.gov.za/group-details with options to download data as a CSV file and options for sorting based on gender, party, caucus and region circled}


Web scraping using R and rvest


ConclusionReferences