Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Summary Detail Property information #57

Open
mattswalter opened this issue Apr 5, 2021 · 6 comments
Open

Summary Detail Property information #57

mattswalter opened this issue Apr 5, 2021 · 6 comments
Labels
question Further information is requested

Comments

@mattswalter
Copy link

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:
image

Is there anyway to access basements, units, storage, and residential status using location.get_detail?

Thanks,
Matt

@mattswalter mattswalter added the question Further information is requested label Apr 5, 2021
@Lyetenth
Copy link
Contributor

Lyetenth commented 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 is 2.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
Copy link
Author

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

@Lyetenth
Copy link
Contributor

Lyetenth commented 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
Copy link
Author

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
Copy link
Contributor

Lyetenth commented 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 property

For the calculations of AAL and recreating the report, there's a couple things to note:

  1. Where we don't have data on the building characteristics, we use the block, tract, county waterfall to understand the characteristics of a "typical home". Ex: Suppose we're missing the basement data for property 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 missing
  2. The cost of climate was created using a proprietary AVM that we cannot share externally, which is different from the AVM values we generated internally using the economic product
  3. We are providing an internal estimate of property value that would have to be scaled to structure value

@mattswalter
Copy link
Author

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants