To load this dataset into pandas, do the following
import pandas as pd # you just use the same url as the table page country_codes = pd.read_csv("https://csvbase.com/calpaterson/country-codes", index_col="csvbase_row_id")
To load this dataset into R, do the following
# you just use the same url as the table page country_codes <- read.csv('https://csvbase.com/calpaterson/country-codes')