Learn R Programming

brpop: Brazilian population estimates

brpop is an R package that provides yearly Brazilian population estimates, aggregated by state, municipality, sex, and age groups. Those estimates are especially useful for calculating age and sex standardized disease rates.

Installation

Stable release at CRAN.

install.packages("brpop")
library(brpop)

Development version at GitHub.

remotes::install_github("rfsaldanha/brpop")
library(brpop)

Usage

The package provides population estimates by sex, age groups, municipalities and year from two sources: the DataSUS estimates, covering 2000 to 2021 and the UFRN-PPGDEM-LEPP estimates, covering from 2010 to 2030.

The package also provide total population estimates by municipality and year from IBGE from 2000 to 2024.

Along with the datasets, the package provide several functions to aggregate the estimates by state (UF) and health regions. Look at the Reference section for more details.

Copy Link

Version

Install

install.packages('brpop')

Monthly Downloads

35

Version

0.6.3

License

MIT + file LICENSE

Maintainer

Raphael Saldanha

Last Published

September 3rd, 2025

Functions in brpop (0.6.3)

mun_reg_saude

Municipality and health region code table
regsaude_male_pop_totals

Health region yearly male population estimates totals
uf_pop_age

UF yearly population estimates per age group
regsaude_female_pop_totals

Health region yearly female population estimates totals
regsaude_pop_age

Health region yearly population estimates per age group
uf_female_pop_totals

UF yearly female population estimates totals
mun_sex_pop

Municipality yearly population estimates per age group and sex
uf_pop_totals

UF yearly population totals
regsaude_sex_pop

Health regions yearly population estimates per age group and sex
uf_sex_pop

UF yearly population estimates per age group and sex
%>%

Pipe operator
regsaude_pop_totals

Health region yearly total population estimates
mun_female_pop_totals

Municipality yearly female population estimates totals
datasus2024_mun_male_pop

Municipality yearly male population estimates per age group from 2000 to 2024
mun_male_pop_totals

Municipality yearly male population estimates totals
ibge_pop

Municipality population from IBGE estimates, Census and population inquiries from 2000 to 2024
mun_pop_age

Municipality yearly population estimates per age group
datasus_mun_male_pop

Municipality yearly male population estimates per age group from 2000 to 2021
datasus2024_mun_female_pop

Municipality yearly female population estimates per age group from 2000 to 2024
mun_pop_totals

Municipality yearly population totals
brpop-package

brpop: Brazilian Population Estimatives
datasus_mun_female_pop

Municipality yearly female population estimates per age group from 2000 to 2021
regsaude_female_pop

Health region yearly female population estimates per age group
regsaude_male_pop

Health region yearly male population estimates per age group
uf_male_pop_totals

UF yearly male population estimates totals
mun_reg_saude_449

Municipality and health region (449) code table
ufrn_mun_male_pop

Municipality yearly male population estimates per age group, from 2010 to 2030
ufrn_mun_female_pop

Municipality yearly female population estimates per age group, from 2010 to 2030