- Adds
vote_brexit
(2016 Brexit vote),income
,education
, andregion
to the list of weights for the UK census.
- Adds
vote2020
to the list of weights for the US national census.
- Fixed a bug where NAs in the dataset would make the package crash. Now it raises an error message.
get_census
can now be used to view the census data.- Fixed a bug where
max_weight
andmin_weight
would not be populated ifverbose=False
- California census data can be accessed via
census='US_CA'
- Texas census data can be accessed via
census='US_TX'
- Custom census cwn be defined via passed dict (
census=custom_dict
) - Early termination can be disabled by passing
early_terminate=False
torun_weighting_scheme