Rcode:
library(purrr)
library(rvest)
url_base <-"https://www.franchisedirect.com/top100globalfranchises/rankings?page=%d"
map_df(1:5,function(i){
page <- read_html(sprintf(url_base,i))
data.frame(Rank = html_text(html_nodes(page,".top500listingTableIndustry , .top500listingTableCountry , .top500listingTableName , .tablesaw-cell-content , .top500listingTableRank"))
)
}) -> F100