unsprawl.providers.data.us.ca.sf

San Francisco (US-CA-SF) data providers.

Submodules

Classes

DataSFProvider

Provider for San Francisco open data (housing transactions).

Package Contents

class DataSFProvider[source]

Provider for San Francisco open data (housing transactions).

data_root: Path
property transactions_path: Path

Default cache location for housing transactions.

fetch_housing_transactions(*, force=False)[source]

Fetch housing transaction records as a DataFrame.

Notes

This is currently a stub to establish the interface. The first implementation should: - fetch from data.sfgov.org (Socrata) or another SF open data source - cache to transactions_path - provide an offline fallback for CI