Is there a way to read in multiple ranges at the same time in GoogleSheets4 read_sheet function?
I've tried all of these with no luck:
DateInfo2022 <- read_sheet('https://docs.google.com/spreadsheets/......',sheet="Dates",range="A2:F37" & "A41:F56")
DateInfo2022 <- read_sheet('https://docs.google.com/spreadsheets/......',sheet="Dates",range="A2:F37", "A41:F56")
DateInfo2022 <- read_sheet('https://docs.google.com/spreadsheets/......',sheet="Dates",range=c("A2:F37", "A41:F56"))
One approach is to create a table of sheets and ranges:
And then use that with
mapplyto read the individual ranges from the sheets, with the result being a list. This allows for different ranges to be selected of different dimensions.