RPVote / eiCompare

Comparing ecological inference techniques
https://rpvote.github.io/voting-rights/
6 stars 7 forks source link

surname_year = 2010 throwing error #72

Closed lorenc5 closed 4 years ago

lorenc5 commented 4 years ago

Performing BISG to obtain race probabilities. Error in merge_surnames(voter.file) : object 'surnames2010' not found;

Issue is solved by setting surname_year =2010 instead of assuming the default. Even though this is the default.

pssachdeva commented 4 years ago

Looked into this. I'm not sure if it has to do with including the keyword argument (I can't reproduce this error that way). However, I think we will need to switch wru to depends, rather than imports. It seems like that's the only way to guarantee we'll have access to the surnames2010 dataset in wru.