Closed cvanoli closed 6 years ago
Thanks @cvanoli! Could you describe a bit why this change was needed? Has the census
library api changed? If a year argument is not supplied, what ACS vintage gets used?
I have read again the documentation. If no year variable is defined, the default year is 2016. The problem with the code is that the default year variable that is pulled inside the query function which contains the "get" function is set to None. The "get" function returns an error when a year = None. Therefore, in the "_query" function, the default value for the field year should be 2016 as it is in the package.
On Thu, Mar 1, 2018 at 7:51 PM, Eddie Janowicz notifications@github.com wrote:
Thanks @cvanoli https://github.com/cvanoli! Could you describe a bit why this change was needed? Has the census library api changed? If a year argument is not supplied, what ACS vintage gets used?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UDST/synthpop/pull/41#issuecomment-369759004, or mute the thread https://github.com/notifications/unsubscribe-auth/Acfv10f4BUm5t5SV0p_sTZDJu-AKhH_Yks5taHt-gaJpZM4SYyo8 .
-- Catalina Vanoli Masters in Transportation Engineering University of California, Berkeley catalinavanoli@berkeley.edu catalinavanoli@berkeley.edu
acs.get function variables updated