synthpop icon indicating copy to clipboard operation
synthpop copied to clipboard

Census instance has no attribute 'tract_to_pums'

Open lotur opened this issue 8 years ago • 3 comments

Hi, in the census_api demo, I stumble into this error: the Census instance doesn't seem to have the attribute "tract_to_pums" (see following screenshot):

screenshot

Thank you very much.

lotur avatar Mar 16 '17 11:03 lotur

@lotur

Try "tract10_to_pums" see if that solves your problem.

semcogli avatar Mar 16 '17 12:03 semcogli

@semcogli

This doesn't work either. As the screenshot in my previous post shows, these are the attributes of the object c, that is an instance of the Census class:

'c',
'pums_cache',
'pums_relationship_df',
'pums00_household_base_url',
'pums10_household_base_url',
'base_url',
'fips_url',
'pums_household_state_base_url',
'pums_population_state_base_url',
'pums10_population_base_url',
'pums_relationship_file_url',
'fips_df',
'pums00_population_base_url'

There is no "tract_to_pums" or "tract10_to_pums" function.

Could someone please help me to understand?

Thank you very much.

lotur avatar Apr 06 '17 10:04 lotur

Sorry for the late reply. The attribute that corresponds to the census_helpers script is called "tract_to_puma". Try changing that. Thanks

cvanoli avatar Apr 30 '18 13:04 cvanoli