MyNixOS website logo
Description

Brazilian Population Estimatives.

Datasets with yearly (2000 to 2021) Brazilian population estimates from DataSUS/Brazilian Health Ministry, aggregated by state, municipality, sex, and age groups. The data in this package is manually downloaded from the DataSUS website and converted to tibbles.

brpop: Brazilian population estimates

CRAN status

brpop is an R package that provides yearly (2000 to 2021) Brazilian population estimates from DataSUS/Brazilian Health Ministry, aggregated by state, municipality, sex, and age groups. Those estimates are especially useful for calculating age and sex standardized disease rates.

The population estimates were downloaded manually from DataSUS and converted to tibbles for more convenient use.

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 for municipalities, UF and health regions by sex and age groups.

The base dataset are population estimates by municipalities and sex.

head(mun_female_pop)
head(mun_male_pop)

The package provides several functions to aggregate those datasets into multiple ways. The functions are provided for municipalities with the prefix mun_, UFs with the prefix uf_, and health regions with the prefix regsaude_. Those function takes no arguments.

Estimates by year, sex and age group

The functions *_sex_pop binds the estimates by sex into a single tibble with a new variable called sex.

mun_sex_pop()
uf_sex_pop()
regsaude_sex_pop()

Estimates by year and age group

The functions *_pop aggregates the municipalities' estimates by sex, resulting in a tibble with overall population estimates.

mun_pop()
uf_pop()
regsaude_pop()

Estimates by year

The functions *_pop_totals provides the total population estimative.

mun_pop_totals()
uf_pop_totals()
regsaude_pop_totals()
Metadata

Version

0.3.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows