Hi - This should get you started. What you'll see is that if you want to use two different variables in the same plot, then you need to put those variables inside of different geoms. I don't understand exactly why; maybe others can help out there! You'll also see that when I logged the variable I had to add +1 because you can't take a log of zero. This probably isn't appropriate here but it let me give you working code!
data %>%
filter(countriesAndTerritories %in% c("Canada")) %>%
ggplot() +
geom_point(aes(dateRep, log(cases+1), col = countriesAndTerritories)) +
geom_smooth(aes(dateRep, log(cases+1), col = countriesAndTerritories)) +
geom_point(aes(dateRep, cases, col = countriesAndTerritories)) +
geom_smooth(aes(dateRep, cases, col = countriesAndTerritories)) +
scale_y_log10() +
theme(legend.position = "bottom") +
ggtitle("Number of New COVID-19 Cases In Canada") +
xlab("Date In Months") +
ylab("Number of New Cases") +
theme(legend.position="right")