UDST / synthpop

Synthetic populations from census data
BSD 3-Clause "New" or "Revised" License
99 stars 47 forks source link

Census instance has no attribute 'tract_to_pums' #38

Open lotur opened 7 years ago

lotur commented 7 years ago

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.

semcogli commented 7 years ago

@lotur

Try "tract10_to_pums" see if that solves your problem.

lotur commented 7 years ago

@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.

cvanoli commented 6 years ago

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