From ed436a4c7b2057685f79ab65234e707233c20e1d Mon Sep 17 00:00:00 2001 From: Fonti Kar Date: Tue, 22 Oct 2024 10:26:09 +1100 Subject: [PATCH] Added gbif parquet maintainece code --- R/maintenance.R | 41 ++++++++++++------- .../shinyapps.io/fontikar/infinitylists.dcf | 2 +- 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/R/maintenance.R b/R/maintenance.R index d96e365..b1705be 100644 --- a/R/maintenance.R +++ b/R/maintenance.R @@ -1,14 +1,27 @@ - # galah::galah_config(email = "wcornwell@gmail.com") - # - # requireNamespace("job", quietly = TRUE) - # job::job(packages = c("purrr", "dplyr", "arrow", "janitor", "galah", "stringr", "lubridate", "infinitylists"), { - # download_ala_obs(taxon = "Papilionoidea") - # download_ala_obs(taxon = "Odonata") - # download_ala_obs(taxon = "Marsupialia") - # download_ala_obs(taxon = "Cicadoidea") - # download_ala_obs(taxon = "Plantae") - # download_gbif_obs(taxon = "Arachnida", country_code = "FR") - # download_gbif_obs(taxon = "Squamata", country_code = "ES") - # }) - - +# requireNamespace("job", quietly = TRUE) +# job::job(packages = c("purrr", "dplyr", "arrow", "janitor", "galah", "stringr", "lubridate", "infinitylists"), { +# +# galah::galah_config(email = "wcornwell@gmail.com") +# +# download_ala_obs(taxon = "Papilionoidea") +# download_ala_obs(taxon = "Odonata") +# download_ala_obs(taxon = "Marsupialia") +# download_ala_obs(taxon = "Cicadoidea") +# download_ala_obs(taxon = "Plantae") +# }) +# +# +# job::job(packages = c("purrr", "dplyr", "arrow", "janitor", "galah", "stringr", "lubridate", "infinitylists"), { +# +# galah::galah_config(atlas = "Global", +# username = Sys.getenv("GBIF_USERNAME"), +# password = Sys.getenv("GBIF_PWD"), +# email = Sys.getenv("GBIF_EMAIL") +# ) +# +# download_gbif_obs(taxon = "Arachnida", country_code = "FR") +# download_gbif_obs(taxon = "Squamata", min_year = 2023) +# # download_gbif_obs(taxon = "Squamata", country_code = "ES") +# }) +# +# diff --git a/rsconnect/shinyapps.io/fontikar/infinitylists.dcf b/rsconnect/shinyapps.io/fontikar/infinitylists.dcf index 197b797..13262d2 100644 --- a/rsconnect/shinyapps.io/fontikar/infinitylists.dcf +++ b/rsconnect/shinyapps.io/fontikar/infinitylists.dcf @@ -5,6 +5,6 @@ account: fontikar server: shinyapps.io hostUrl: https://api.shinyapps.io/v1 appId: 11400862 -bundleId: 9252048 +bundleId: 9252091 url: https://unsw.shinyapps.io/infinitylists/ version: 1