Skip to content

Add state code from FIPS #692

Description

@MaxGhenis

CPS and ACS provide state FIPS code. To tie that to the two-letter state code we use, we could use the us package as:

two_letter_code = pd.Series(fips).apply(
    lambda x: us.states.lookup(str(x).zfill(2)).name
).tolist()

per unitedstates/python-us#42.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions