Skip to content

Commit

Permalink
Removing hard limit on current downloads and documentation wording im…
Browse files Browse the repository at this point in the history
…provements (#203)

* removing hard cap on file size of current downloads.  this is slower, but safer going forward

* better wording in documentation

* other place there was a hard cap
  • Loading branch information
wcornwell authored Apr 26, 2024
1 parent f2e5b38 commit e4da0ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions R/load_taxonomic_resources.R
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ dataset_access_function <-
tryCatch({
APC <- readr::read_csv(
"https://biodiversity.org.au/nsl/services/export/taxonCsv",
n_max = 110000,
col_types =
readr::cols(
.default = readr::col_character(),
Expand All @@ -351,7 +350,6 @@ dataset_access_function <-
APNI <-
readr::read_csv(
"https://biodiversity.org.au/nsl/services/export/namesCsv",
n_max = 140000,
col_types =
readr::cols(
.default = readr::col_character(),
Expand Down
9 changes: 5 additions & 4 deletions R/native_anywhere_in_australia.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#' For a vector of taxon names in to the APC, check if the species are native anywhere in Australia
#'
#' This function checks if the given species is native anywhere in Australia according to the APC.
#' Note that this will not detect within-Australia introductions, e.g. if a species is from Western Australia and is invasive on the east coast.
#' And recent invasions are unlikely to be documented yet in APC.
#' This function checks which species from a list is thought to be native anywhere in Australia according to the APC.
#' Important caveats: this will not detect within-Australia introductions, e.g. if a species is from Western Australia and is invasive on the east coast.
#' Also, very recent invasions are unlikely to be documented yet in APC.
#' Ideally check spelling and taxonomy updates first via \link{create_taxonomic_update_lookup}.
#' For the complete matrix of species by states that also represents within-Australia invasions,
#' use \link{create_species_state_origin_matrix}. For spelling checks and taxonomy updates please see \link{create_taxonomic_update_lookup}.
#' use \link{create_species_state_origin_matrix}.
#'
#' @family diversity methods
#' @param species A character string typically representing the binomial for the species.
Expand Down
2 changes: 0 additions & 2 deletions R/release.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ download_taxonomic_resources_for_release<- function(version_name = NULL, path =
APC <-
readr::read_csv(
"https://biodiversity.org.au/nsl/services/export/taxonCsv",
n_max = 110000,
col_types =
readr::cols(
.default = readr::col_character(),
Expand All @@ -43,7 +42,6 @@ readr::write_csv(APC, file = paste0(path,"apc.tar.gz"))
APNI <-
readr::read_csv(
"https://biodiversity.org.au/nsl/services/export/namesCsv",
n_max = 140000,
col_types =
readr::cols(
.default = readr::col_character(),
Expand Down
9 changes: 5 additions & 4 deletions man/native_anywhere_in_australia.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4da0ba

Please sign in to comment.