View source: R/example_sources.R
bb_source_us_buildings | R Documentation |
This function constructs a data source definition for the Microsoft US Buildings data set. This data set contains 124,885,597 computer generated building footprints in all 50 US states. NOTE: currently, the downloaded zip files will not be unzipped automatically. Work in progress.
bb_source_us_buildings(states)
states |
character: (optional) one or more US state names for which to download data. If missing, data from all states will be downloaded. See the reference page for valid state names |
a tibble with columns as specified by bb_source
https://github.com/Microsoft/USBuildingFootprints
bb_example_sources
, bb_config
, bb_handler_rget
## Not run:
## define a configuration and add this buildings data source to it
## only including data for the District of Columbia and Hawaii
cf <- bb_config(tempdir()) %>%
bb_add(bb_source_us_buildings(states = c("District of Columbia", "Hawaii")))
## synchronize (download) the data
bb_sync(cf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.