Posts by rafa.pereira • 273 points
5 posts
-
3
votes2
answers4121
viewsA: R - Map of Brazilian cities
The new package geobr makes the task much easier. # instalando pacote install.packages("geobr") library(geobr) # carregando shape files de todos municipios do Brasil mun <-…
-
7
votes1
answer392
viewsQ: How to use %<> % operator in R
What the operator means %<>% in r ? What is your difference from <- ? Under what circumstances can it be useful?
-
4
votes1
answer3996
viewsQ: Get the module of a negative number in R
Is there any function in R to obtain the module of a negative number or a number vector? example: v <- c(1,-2,3,-4) module(v) #> [1] 1 2 3 4…
rasked rafa.pereira 273 -
0
votes2
answers1112
viewsA: Reading Archives in ASCII Census 2010
Complementing the @Rcoster response, I present here an alternative solution in which the syntax of reading the data .txt from the variable dictionary file .xls. # Load libraries library(data.table)…
-
2
votes2
answers1112
viewsQ: Reading Archives in ASCII Census 2010
Does anyone know where to download ASCII (.sas) files for reading the IBGE 2010 Demographic Census microdata ? I know that the Anthony Damico keeps only a few files on his website (see below how to…