Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diferença quantitativo deputados federais 2018 #39

Open
Denise-A opened this issue Oct 15, 2021 · 0 comments
Open

Diferença quantitativo deputados federais 2018 #39

Denise-A opened this issue Oct 15, 2021 · 0 comments

Comments

@Denise-A
Copy link

Eu fui reproduzir o script que está na página do professor Denisson Silva já coma as variáveis padronizadas para a distribuição da bancada do Congresso por gênero. Ocorre que o total é de 467 e não de 513. Fui retomar o que foi feito e não encontrei onde está a diferença.

consult18 <- candidate_fed(2018)

unique(consult18$DS_SIT_TOT_TURNO)

selecionando apenas os candidadtos eleitos

consult18 <- consult18[consult18$DS_SIT_TOT_TURNO %in% c("ELEITO POR QP", "ELEITO POR MÉDIA", "ELEITO"), ]

unique(consult18$CD_GENERO)
unique(consult18$DS_GENERO)

fed18_genero <- as.data.frame(table(consult18[consult18$DS_CARGO == "DEPUTADO FEDERAL", 43]))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant