data-raw/cnes_pf_sample.R

## code to prepare `cnes_pf_sample` dataset goes here

cnes_pf_sample <- fetch_datasus(
  year_start = 2016, month_start = 6,
  year_end = 2016, month_end = 6,
  uf = "AC", information_system = "CNES-PF"
) %>%
  head(100)

cnes_pf_sample$CPF_PROF <- NULL

usethis::use_data(cnes_pf_sample, overwrite = TRUE)
rfsaldanha/microdatasus documentation built on April 13, 2024, 2:25 p.m.