This repository was archived by the owner on Jan 18, 2023. It is now read-only.
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
Summary Detail Property information #57
Open
Description
Hello,
I am trying to use location.get_detail to get property information on basements, units, stories, and residential status as described under LocationDetailProperty Object https://github.com/FirstStreet/fsf_api_access_python/wiki/Location-Detail
However, a code such as this:
location_detail = fs.location.get_detail(search_items=[511447411, 511447412, 511447413], location_type="property", csv=True)
won't return all of those values:
Is there anyway to access basements, units, storage, and residential status using location.get_detail?
Thanks,
Matt
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Lyetenth commentedon Apr 5, 2021
Hey @smwalter96,
What's your current version of the
fsf-api-access-python
?Version
2.3.3
is when the location detail nodes were added (current version is2.3.4
which includes a bugfix for a debugging message, so I'd recommending getting the most recent version: https://github.com/FirstStreet/fsf_api_access_python/wiki/Updating-the-Library).Let me know if your library is up to date but it's still missing (and which version you're currently using)
mattswalter commentedon Apr 5, 2021
Thank you, updating from version 2.3.2 to 2.3.4 worked. However, all properties I have tested just show NA for basements, units, and stories.

Lyetenth commentedon Apr 5, 2021
Hey @smwalter96,
Confirming that for the properties
511447411, 511447412, 511447413
, we unfortunately don't have have any values for basements, units, and stories.If this was to test if the values show up, try fsid:
600531147
, and it should have values for basement, units, and stories.mattswalter commentedon Apr 7, 2021
After looking at the available data, I notice that Delaware doesn't have data at all for basements, stories, and units. I am then wondering how AALs were calculated?
We are specifically trying to recreate AALs from the Cost of Climate report released by First Street. Would you be the best person to contact about these methodological questions or is there someone else at First Street we could get in touch with?
Thanks,
Matt
Lyetenth commentedon Apr 7, 2021
Hey @smwalter96,
Could you try re-running your pull again on Delaware? There was a setting for your API key that prevented the building data nodes (basement, units, and stories) from appearing. It should be enabled now. Try it on ex FSID:
100005111
, which is a Delaware propertyFor the calculations of AAL and recreating the report, there's a couple things to note:
100005111
, then we impute the missing data at the block level. If we have no data at the block level, we use the tract level. Finally we use county aggregation if all of the tract data is missingmattswalter commentedon Apr 9, 2021
That is useful information about the AALs, thank you. Would it be possible to meet with you or someone at First Street to further discuss the AAL values in the Cost of Climate report?
As for the Location Detail information, I have run it again. I am getting values for basements, units, and stories now. However, I am getting only 20 properties in all of Delaware that have a TRUE basement value. Also the number of units is 1 for all properties. Is this because the information isn't available so it is just taking tract or county averages?