From 4d14501db33566f9dcecfb7edda84063b7200fc2 Mon Sep 17 00:00:00 2001 From: rafapereirabr Date: Thu, 7 Sep 2023 13:16:22 -0300 Subject: [PATCH] set showProgress = FALSE in geobr vignette --- vignettes/censobr.Rmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vignettes/censobr.Rmd b/vignettes/censobr.Rmd index cb22de9..ae508f4 100644 --- a/vignettes/censobr.Rmd +++ b/vignettes/censobr.Rmd @@ -197,13 +197,15 @@ In this final example, we're going to visualize how the amount of money people s First, let's download the municipalities of the metro area of São Paulo. ```{r, eval = TRUE, warning = FALSE} -metro_muni <- geobr::read_metro_area(year = 2010) |> +metro_muni <- geobr::read_metro_area(year = 2010, + showProgress = FALSE) |> subset(name_metro == "RM São Paulo") ``` We also need the polygons of the weighting areas (áreas de ponderação). With the code below, we download all weighting areas in the state of São Paulo, and then keep only the areas in the metropolitan regions of São Paulo. ```{r, eval = TRUE, warning = FALSE} wt_areas <- geobr::read_weighting_area(code_weighting = "SP", + showProgress = FALSE, year = 2010) wt_areas <- subset(wt_areas, code_muni %in% metro_muni$code_muni)