Last active
March 26, 2021 12:36
-
-
Save juanchiem/074916ddd3a1b301856877242dfafcf2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pacman::p_load(tidyverse, googlesheets4) | |
gs4_auth(email = "[email protected]") | |
gs4_find("my_sheet") | |
#copiar id y establecer acceso | |
my_sheet <- gs4_get("1b3Zu9CT-B1lHVwkl7wLS_njDQyvwRFYnw_H-OjyO7LA") | |
#intervalo que deseo los datos | |
dates <- seq.Date(lubridate::dmy("1-8-2020"), | |
lubridate::dmy("20-3-2021"), by = "1 day") | |
metR::GetSMNData(dates, type = "daily", bar = TRUE) %>% | |
filter(station == "TANDIL AERO") %>% | |
write_sheet(ss=my_sheet, sheet = "tandil") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment