You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: r-package/NEWS.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
+
# geobr v1.8.1
1
2
2
-
# geobr v1.7.0999 (dev version)
3
+
**CRAN request**
4
+
- geobr now uses suggested packages conditionally
5
+
6
+
7
+
8
+
# geobr v1.8.0
3
9
4
10
**New function**
5
11
-`read_capitals()` to download either a spatial `sf` object with the location of the municipal seats (sede dos municipios) of state capitals, or a `data.frame` with the names of codes of state capitals. [Closes #243](https://github.com/ipeaGIT/geobr/issues/243)
The geobr package covers 27 spatial data sets, including a variety of political-administrative and statistical areas used in Brazil. You can view what data sets are available using the `list_geobr()` function.
The syntax of all *geobr* functions operate one the same logic, so the code to download the data becomes intuitive for the user. Here are a few examples.
66
74
67
75
Download an specific geographic area at a given year
@@ -185,7 +187,7 @@ The next step is to combine data from ***geobr*** package with other data sets
185
187
186
188
First, we need a `data.frame` with estimates of Life Expectancy and merge it to our spatial database. The two-digit abbreviation of state name is our key column to join these two databases.
Now we're going to (a) group observations by municipality, (b) get the number of households connected to a sewage network, (c) calculate the proportion of households connected, and (d) collect the results.
0 commit comments