-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a74220c
Showing
12 changed files
with
1,844 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source("renv/activate.R") | ||
|
||
if (Sys.getenv("RUSER") == "DHERSZ") source("~/.Rprofile") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.Rproj.user | ||
.Rhistory | ||
.RData | ||
.Ruserdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
padronizar_cnefe <- function() { | ||
colunas_a_manter <- c( | ||
"code_address", # identificador | ||
"code_state", # estado | ||
"code_muni", # municipio | ||
"cep", # cep | ||
"desc_localidade", # bairro, povoado, vila, etc | ||
"nom_tipo_seglogr", # tipo de logradouro | ||
"nom_titulo_seglogr", # titulo (e.g. general, papa, santa, etc) | ||
"nom_seglogr", # logradouro | ||
"num_adress", # numero | ||
"dsc_modificador", # modificador do numero | ||
"cep", # cep | ||
"lon", # longitude | ||
"lat", # latituted | ||
"nv_geo_coord" # nivel de geocodificacao | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
library(tzdb) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
suppressPackageStartupMessages({ | ||
library(targets) | ||
}) | ||
|
||
source("R/padronizacao.R", encoding = "UTF-8") | ||
|
||
list( | ||
tar_target(padronizacao, padronizar_cnefe()) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# CAUTION: do not edit this file by hand! | ||
# _targets/objects/ may have large data files, | ||
# and _targets/meta/process may have sensitive information. | ||
# It is good pratice to either commit nothing from _targets/, | ||
# or if your data is not too sensitive, | ||
# commit only _targets/meta/meta. | ||
* | ||
!.gitignore | ||
!meta | ||
meta/* | ||
!meta/meta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name|type|data|command|depend|seed|path|time|size|bytes|format|repository|iteration|parent|children|seconds|warnings|error | ||
padronizar_cnefe|function|6c2e94b92c42135a | ||
padronizacao|stem|274ca85b9d987ab1|0e8b7c33747183c6|3b04dbe22eee49f6|704861656||t20032.832925249s|7abe23fc6ac7bb03|175|rds|local|vector|||0|| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
AutoAppendNewline: Yes | ||
StripTrailingWhitespace: Yes |
Oops, something went wrong.