pudl.metadata.codes

Metadata for cleaning, re-encoding, and documenting coded data columns.

These dictionaries are used to create Encoder instances. They contain the following keys: ‘df’: A dataframe associating short codes with long descriptions and other information. ‘code_fixes’: A dictionary mapping non-standard codes to canonical, standardized codes. ‘ignored_codes’: A list of non-standard codes which appear in the data, and will be set to NA.

Module Contents

pudl.metadata.codes.CODE_METADATA :Dict[str, Dict[str, Any]][source]