Modules
buildstock_fetch.main.fetch_bldg_ids(state)
¶
Fetch a list of Building ID's
Provided a state, returns a list of building ID's for that state.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
state
|
str
|
The state to fetch building ID's for. |
required |
Returns:
Type | Description |
---|---|
list[BuildingID]
|
A list of building ID's for the given state. |
Source code in buildstock_fetch/main.py
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
buildstock_fetch.main.fetch_bldg_data(bldg_ids)
¶
Download building data for a given list of building ids
Downloads the data for the given building ids and returns list of paths to the downloaded files.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
bldg_ids
|
list[BuildingID]
|
A list of BuildingID objects to download data for. |
required |
Returns:
Type | Description |
---|---|
list[Path]
|
A list of paths to the downloaded files. |
Source code in buildstock_fetch/main.py
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
|