Skip to content

genderBR v1.2.0

Choose a tag to compare

@meirelesff meirelesff released this 15 Jan 19:34
· 27 commits to master since this release

This is a minor update of the genderBR package that includes several improvements and, more importantly, support for Brazilian 2022 Census data. Changes in this version include:

  • Added support for the 2022 IBGE names API through a new year argument in get_gender, which allows users to access the most recent data for gender prediction in Brazil for both the national and state levels. Code changes do not break backward compatibility.
  • Updated the default year in get_gender to 2022.
  • Internal dataset nomes now provides probabilities for both 2010 and 2022, enabling offline predictions and threshold tuning for either year when internal = TRUE.
  • Removed the magrittr dependency by switching to R's native pipe (requiring R 4.1.0 or higher).
  • Replaced dplyr/tibble joins with a data.table backend to speed up internal merges and reduce dependencies.
  • Updated and added new tests to ensure no errors when using 2022 data.
  • Improved documentation and examples to reflect the new functionality and changes.
  • Added a new section in the README discussing ethical considerations.