From Allison Horst’s Intro to for loops in R and Python (EDS 221)
"For loops are common in environmental data science. Like…
For each country in a dataset, find the median income by county and create a chloropleth map for the country
For each CSV file in my directory, read in the data and append its contents to the end of the existing data frame
For each species in the data, access the correct parameters from the data frame and model fish stocks"