From 3926cea66aa293779b3c35fa7745fc4fcf2acc12 Mon Sep 17 00:00:00 2001 From: rafapereirabr Date: Thu, 18 Apr 2024 19:34:58 -0300 Subject: [PATCH] [R] new v1.9.0 --- r-package/DESCRIPTION | 2 +- r-package/NEWS.md | 5 ++--- r-package/cran-comments.md | 19 +++++++++++++------ 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/r-package/DESCRIPTION b/r-package/DESCRIPTION index f8a66e07..2ec32688 100644 --- a/r-package/DESCRIPTION +++ b/r-package/DESCRIPTION @@ -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="rafa.pereira.br@gmail.com", 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")), diff --git a/r-package/NEWS.md b/r-package/NEWS.md index 49f3082a..a08b58f7 100644 --- a/r-package/NEWS.md +++ b/r-package/NEWS.md @@ -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. diff --git a/r-package/cran-comments.md b/r-package/cran-comments.md index 539c3edd..04c2d895 100644 --- a/r-package/cran-comments.md +++ b/r-package/cran-comments.md @@ -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