data

The data collection imports data into Spade pipelines. It provides two kinds of blocks:

  1. Generic storage blocks built on Apache OpenDAL that read, write, list, and stat objects on any supported storage backend (S3, GCS, Azure Blob, HTTP(S), SFTP, WebDAV, Google Drive, OneDrive, Dropbox, and the local filesystem). The backend is inferred from the URI scheme.
  2. Domain-specific blocks that know how to download particular public datasets (US Census, USDA, USGS, Natural Earth, OpenStreetMap, NLCD, NHD, PRISM, SSURGO, FIA).

All blocks in this collection declare network: true because they fetch data from the internet.

Generic storage blocks🔗

BlockKindDescription
data.readstandardFetch a single object from any supported backend
data.read_collectionstandardFetch multiple objects matching a prefix or glob
data.writestandardWrite a single local file to a remote backend
data.write_collectionstandardWrite a collection of local files to a remote prefix
data.liststandardList objects under a URI prefix
data.statstandardFetch metadata for a single object

US Census🔗

BlockKindDescription
data.census_acsstandardQuery the US Census ACS Data API
data.census_tigerstandardDownload Census TIGER/Line shapefiles

Public geospatial datasets🔗

BlockKindDescription
data.naturalearth_rasterstandardDownload Natural Earth raster datasets
data.naturalearth_vectorstandardDownload Natural Earth vector datasets
data.nhdstandardDownload USGS National Hydrography Dataset by HUC
data.nlcdstandardDownload National Land Cover Database rasters
data.osm_extract_pbfstandardDownload OpenStreetMap extracts in .osm.pbf format
data.osm_extract_shpstandardDownload OpenStreetMap extracts as shapefiles
data.prismstandardDownload PRISM climate rasters
data.ssurgostandardDownload USDA SSURGO soils data
data.usgs_3depstandardFetch USGS 3DEP elevation tiles overlapping an AOI
data.fiastandardDownload USFS Forest Inventory and Analysis (FIA) data

Installation🔗

spade install file:///path/to/blocks/data