The goal of wtotariffcrawler is to …
remotes::install_github("chinhungtseng/wtotariffcrawler")
This is a basic example which shows you how to solve a common problem:
library(wtotariffcrawler)
countries <- country_pool()
for (i in seq_len(nrow(countries))) {
import <- countries$import[i]
export <- countries$export[i]
tariff_downloader(import, export)
Sys.sleep(3600)
}