pudl.metadata.constants

Metadata and operational constants.

Module Contents

pudl.metadata.constants.FIELD_DTYPES_PANDAS: dict[str, str][source]

Pandas data type by PUDL field type (Data Package field.type).

pudl.metadata.constants.FIELD_DTYPES_PYARROW: dict[str, pyarrow.lib.DataType][source]
pudl.metadata.constants.FIELD_DTYPES_SQL: dict[str, type][source]

SQLAlchemy column types by PUDL field type (Data Package field.type).

pudl.metadata.constants.CONSTRAINT_DTYPES: dict[str, type][source]

Python types for field constraints by PUDL field type (Data Package field.type).

pudl.metadata.constants.LICENSES: dict[str, dict[str, str]][source]

License attributes.

pudl.metadata.constants.PERIODS: dict[str, collections.abc.Callable[[pandas.Series], pandas.Series]][source]

Functions converting datetimes to period start times, by time period.

pudl.metadata.constants.CONTRIBUTORS: dict[str, dict[str, str]][source]

PUDL Contributors for attribution.

pudl.metadata.constants.KEYWORDS: dict[str, list[str]][source]
pudl.metadata.constants.XBRL_TABLES = ['corporate_officer_certification_001_duration', 'corporate_officer_certification_001_instant',...[source]