Hi, I have a list of ten countries in a tbl_df. Can I use write a for loop to use each name and create a variable and have the variable = data extracted from a data frame?
AustraliaDataCovidDeaths <- subset(deaths, Group.1 == 'Australia')
BelgiumDataCovidConfirmed <- subset(confirmed, Group.1 == 'Belgium')
Any help will be greatly appreciated