numeraire_dataset.zones.wrds.load_clean#
- numeraire_dataset.zones.wrds.load_clean(conn: _wrds.Connection | None = None, *, vintage: str | None = None, home: str | Path | None = None, lock: DataLock | None = None, write_lock: bool = True, refresh: bool = False) tuple[dict[str, pd.DataFrame], DataLock][source]#
Pull the standard raw tables, run the clean builders, and record the provenance lock.
Returns
(frames, lock)whereframesmaps a friendly name to a frame:crsp/compustat/compustat_formation/compustat_q/ccm(built clean tables —compustat_formationcarries the following-June annual formation convention andcompustat_qis the quarterly fresh-earnings ROE table),ff(raw Fama-French factors), plus the rawfundaandmsenames(needed for characteristics the clean tables drop, e.g. Compustatibor the CRSPtickermap). The returnedDataLockcarries adata_vintagestamp for each clean table; it is written todata.lock.jsonin the data home whenwrite_lock(the numeraire-facing provenance record).A live
connis required unless every raw table is already cached (then passconn=None).