Skip to content

Commit

Permalink
[R] new v1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapereirabr committed Apr 18, 2024
1 parent 880d12b commit 3926cea
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion r-package/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: geobr
Title: Download Official Spatial Data Sets of Brazil
Version: 1.8.2900
Version: 1.9.0
Authors@R: c(person(given="Rafael H. M.", family="Pereira", email="[email protected]", role=c("aut", "cre"), comment = c(ORCID = "0000-0003-2125-7465")),
person(given="Caio Nogueira", family="Goncalves", role=c("aut")),
person(given="Paulo Henrique Fernandes de", family="Araujo", role=c("ctb")),
Expand Down
5 changes: 2 additions & 3 deletions r-package/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# geobr v1.9.0 dev
# geobr v1.9.0

**Major changes**

- Function `read_health_facilities()` now has a new parameter `date`, which will allow users to access data for different dates of reference. The plan is to have at least one update of this data set per year. Closes #334.
- Function `read_urban_area()` now has a new parameter `code_state`, which will allow users to filter selected states. Closes #338
- Function `read_metro_area()` now has a new parameter `code_state`, which will allow users to filter selected states. Closes #338
- Functions `read_urban_area()` and `read_metro_area()` now have a new parameter `code_state`, which will allow users to filter selected states. Closes #338

**Bug fix**
- Using `data.table::rbindlist()` to rind data was throwing errors when some observations were of class `POLYGONS` and others were `MULTIPOLYGONS`. This has now been replaced with `dplyr::bind_rows()` at a very small performance penalty. Closes #346.
Expand Down
19 changes: 13 additions & 6 deletions r-package/cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
── R CMD check results ────────────────────────────────────────────────── geobr 1.8.2 ────
Duration: 6m 47.4s
── R CMD check results ─────────────────────────────────────────────────────── geobr 1.9.0 ────
Duration: 11m 22.3s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔

# geobr v1.9.0

**Major changes**

**CRAN request**
- Fixed issue to make sure geobr uses suggested packages conditionally on CRAN
- Function `read_health_facilities()` now has a new parameter `date`, which will allow users to access data for different dates of reference. The plan is to have at least one update of this data set per year. Closes #334.
- Functions `read_urban_area()` and `read_metro_area()` now have a new parameter `code_state`, which will allow users to filter selected states. Closes #338

**Minor changes**
- Fixed non-ASCII characters in data `geobr::grid_state_correspondence_table()`
**Bug fix**
- Using `data.table::rbindlist()` to rind data was throwing errors when some observations were of class `POLYGONS` and others were `MULTIPOLYGONS`. This has now been replaced with `dplyr::bind_rows()` at a very small performance penalty. Closes #346.

**New data**
- schools for 2023
- health facilities for 202303
- census tracts for 2020 and 2022

0 comments on commit 3926cea

Please sign in to comment.