Skip to content

Commit

Permalink
updating NEWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
John Waller committed Sep 26, 2024
1 parent 495a552 commit 3cc3087
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: A programmatic interface to the Web Service methods
retrieving information on data providers, getting species occurrence
records, getting counts of occurrence records, and using the GBIF
tile map service to make rasters summarizing huge amounts of data.
Version: 3.8.0.2
Version: 3.8.1
License: MIT + file LICENSE
Authors@R: c(
person("Scott", "Chamberlain", role = "aut", comment = c(ORCID="0000-0003-1444-9135")),
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ S3method(print,occ_download_describe)
S3method(print,occ_download_get)
S3method(print,occ_download_meta)
S3method(print,occ_download_prep)
S3method(print,occ_download_sql)
S3method(print,occ_download_sql_prep)
S3method(print,occ_predicate)
S3method(print,occ_predicate_list)
export("%>%")
Expand Down
15 changes: 15 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
rgbif 3.8.1
===========

### NEW FEATURES

* New function `occ_download_sql()` for downloading occurrence data using SQL queries. (#752)

## BUG FIXES

* `occ_download_cached()` bug fixed. (#748)

### DOCUMENTATION

* New article [GBIF SQL Downloads](https://docs.ropensci.org/rgbif/articles/gbif_sql_downloads.html)

rgbif 3.8.0
===========

Expand Down
3 changes: 2 additions & 1 deletion R/occ_download_sql.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ occ_download_sql_prep <- function(q=NULL,

}

#' @export
print.occ_download_sql <- function(x) {
stopifnot(inherits(x, 'occ_download_sql'))
cat_n("<<gbif download sql>>")
Expand All @@ -143,7 +144,7 @@ print.occ_download_sql <- function(x) {
cat_n(" ", attr(x,"citation"))
}


#' @export
print.occ_download_sql_prep <- function(x) {
stopifnot(inherits(x, 'occ_download_sql_prep'))
cat_n("<<Occurrence Download SQL Prep>>")
Expand Down

0 comments on commit 3cc3087

Please sign in to comment.