Skip to content

Commit

Permalink
Added gbif parquet maintainece code
Browse files Browse the repository at this point in the history
  • Loading branch information
fontikar committed Oct 21, 2024
1 parent 7acfbbf commit ed436a4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 15 deletions.
41 changes: 27 additions & 14 deletions R/maintenance.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
# galah::galah_config(email = "[email protected]")
#
# 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 = "[email protected]")
#
# 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")
# })
#
#
2 changes: 1 addition & 1 deletion rsconnect/shinyapps.io/fontikar/infinitylists.dcf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ed436a4

Please sign in to comment.