# NOT RUN {
gap_ss <- gs_gap() # register the Gapminder example sheet
oceania_lf <- gs_read_listfeed(gap_ss, ws = "Oceania")
head(oceania_lf, 3)
## do row ordering and filtering in the API call
oceania_fancy <-
gs_read_listfeed(gap_ss,
ws = "Oceania",
reverse = TRUE, orderby = "gdppercap",
sq = "lifeexp > 79 or year < 1960")
oceania_fancy
## passing args through to readr::type_convert()
oceania_crazy <-
gs_read_listfeed(gap_ss,
ws = "Oceania",
col_names = paste0("z", 1:6), skip = 1,
col_types = "ccncnn",
na = "1962")
oceania_crazy
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab