numeraire_dataset.zones.wrds.pull_raw#

numeraire_dataset.zones.wrds.pull_raw(conn: _wrds.Connection, source: str, sql: str, vintage: str | None = None, *, home: str | Path | None = None, pit_status: str = 'snapshot', refresh: bool = False) pd.DataFrame[source]#

Pull sql into a frame and cache it as parquet + _meta.json under the raw zone.

Returns the cached frame without hitting WRDS when it already exists. Raw vintages are immutable: refresh=True may populate a new vintage, but it never overwrites an existing (source, vintage) cache. The licensed bytes stay in the outside-repo data home. pit_status defaults to "snapshot" — a latest, revised WRDS pull is not itself point-in-time. vintage defaults to default_vintage() (WRDS_VINTAGE or the current year-month).