Skip to content

Releases

0.17.3

Choose a tag to compare

@as2388 as2388 released this 08 Nov 11:42
  • Add optional region filters to the map generators, for controlling which regions should be drawn (#257, #258, #259, #260).
  • Support repositioning the map legend (#261).

0.17.2

Choose a tag to compare

@as2388 as2388 released this 23 Aug 11:58
  • Add MessagesMetrics.__add__, MessagesMetrics.__sub__ and MessagesMetrics.__eq__ (#255)

0.17.1

Choose a tag to compare

@as2388 as2388 released this 19 Jun 10:36
2825563
  • Fixes participation_maps not working due to use of _normal_codes() instead of the new public normal_codes() method (#252)

0.17.0

Choose a tag to compare

@as2388 as2388 released this 06 Jun 15:23
8a08bfa

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, and SUBA -> 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

Choose a tag to compare

@as2388 as2388 released this 29 Sep 11:19
  • Add wards in Kenya's Machakos county (#238, #239).
  • Automatically validate TracedData on export (#241).

0.16.2

Choose a tag to compare

@as2388 as2388 released this 11 May 16:40
  • Add SocialMediaCodes (#237).
  • Add analysis.cross_tabs (#235).

0.16.1

Choose a tag to compare

@as2388 as2388 released this 14 Apr 12:19
  • Enable copying code schemes (#230)
  • Quote everything in all csv exports, to reduce the chance of an export being parsed incorrectly (#233).
  • Add percentage relevant to traffic analysis (#236)

0.16.0

Choose a tag to compare

@as2388 as2388 released this 12 Nov 14:56

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 of opt_in() and responded().

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=True arg to Message.to_dict() (#226).
    • Adds Label.__eq__() and Origin.__eq__() (#220).
  • Adds CleaningUtils.apply_cleaner_to_text (#215).
  • Adds swahili.DemographicCleaner.clean_age_within_range() (#228).

0.15.4

Choose a tag to compare

@IsaackMwenda IsaackMwenda released this 20 May 06:27
74a04b6

replace male -> man, female-> male in gender codes #211

0.15.3

Choose a tag to compare

@as2388 as2388 released this 19 May 14:39
  • Updates Metadata.get_call_location() to support retrieving locations at any depth in the stack, not just the most recent (#208).
  • Adds URNCleaner (#210).
  • Adds TimeUtils.datetime_to_utc_iso_string (#209).
  • Improves error messages in FoldStrategiest.list_of_labels (#206).