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, sqlalchemy.sql.visitors.VisitableType][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, 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.DBF_TABLES_FILENAMES[source]