def compact_capitalized_geography_string(s):
    """ Go from lowercase "county, state-abbrev" string to Capitalized string

    Args:
        s:

    Returns:

    Examples:
        "lancaster, pa" --> "LancasterPA"
        "anne arundel, md" --> "AnneArundelMD"
        "st. mary's, md" --> "StMarysMD"

    """
    s = s.replace(',', '').replace('.', '').replace("'", '').title().replace(' ', '')
    return s[:len(s) - 1] + s[(len(s) - 1):].capitalize()