Closed lorenc5 closed 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
.
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.