Repository navigation
Releases
Releases · AfricasVoices/CoreDataModules
0.17.3
0.17.2
0.17.1
0.17.0
Breaking changes:
- Updates some constituency codes to reflect the constituency names used in the 2022 Kenyan general election (#243). The renamed codes are
IGAMBANG_OMBE -> CHUKA_IGAMBANG_OMBE,MBITA -> SUBA_NORTH, andSUBA -> SUBA_SOUTH.
Other changes:
- Updates
PhoneCleaner.clean_operator()to map the new block +25277 to Hormuud. - Adds all of Kenya's wards to
KenyaCodes(#243, #244, #245, #246). - Adds
analysis_utils.normal_codes(), for easily filtering a list of codes for those where.code_type == Codes.NORMAL(#248). - Fixes map legends rendering to 1 decimal place instead of 0 decimal places, due to an update in a sub-dependency (#247).
0.16.3
0.16.2
0.16.1
0.16.0
Breaking changes:
- Drops support for Python 3.6 ahead of its official EOL in December 2021 (#225).
- Tidies up definitions and use of
analysis_utils.opt_in()and.responded(), fixing a bug that caused theme_distributions to contain inaccurate NA counts in some cases (#224). This update changed the definitions and call signature ofopt_in()andresponded().
Other changes:
- Updates Coda data_models to more accurately represent the complete data model used in Coda, and adds new convenience functions:
- Adds
MessagesMetrics(#212, #213). - Adds
Message.sequence_number(#219). - Adds
Message.last_updated(#222, #223). - Adds
Message.get_latest_labels()(#216, #217). - Adds
Message.copy()(#218). - Adds optional
serialize_datetimes_to_str=Truearg toMessage.to_dict()(#226). - Adds
Label.__eq__()andOrigin.__eq__()(#220).
- Adds
- Adds
CleaningUtils.apply_cleaner_to_text(#215). - Adds
swahili.DemographicCleaner.clean_age_within_range()(#228).
0.15.4
replace male -> man, female-> male in gender codes #211