Skip to content

Instantly share code, notes, and snippets.

@fernandobarbalho
Created February 26, 2020 17:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fernandobarbalho/501fcad5f967b31dc5656b4cf32957b7 to your computer and use it in GitHub Desktop.
Save fernandobarbalho/501fcad5f967b31dc5656b4cf32957b7 to your computer and use it in GitHub Desktop.
#O script abaixo consome dados consolidados de bolsa família para todos os municípios
#Como o script demora muito, considere fazer alterações para fazer filtros antes do segundo pull
ano<-2014
pbf_mun<- owdbr::uflist() %>%
pull(num)%>%
map_dfr(munlist) %>%
pull(codigo_municipio_completo) %>%
map_dfr(getpbf_mun,AAAA= ano)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment