Last active
May 5, 2020 21:46
-
-
Save raeq/ca811363ccb99e201a58f715243c76d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collections | |
import pprint | |
facilities:list = list() | |
medicare_facility:collections.namedtuple = collections.namedtuple("facility", | |
["id", "facility_name", "address", "city", "state", "zip"]) | |
facilities.append( | |
medicare_facility( | |
id="30084", | |
facility_name="CHINLE COMPREHENSIVE HEALTH CARE FACILITY", | |
address="US HWY 191, HOSPITAL ROAD", | |
city="CHINLE", | |
state="AZ", | |
zip="86503" | |
) | |
) | |
facilities.append( | |
medicare_facility( | |
id="44022", | |
facility_name="CONWAY BEHAVIORAL HEALTH", | |
address="2255 STURGIS ROAD", | |
city="CONWAY", | |
state="AR", | |
zip="72034" | |
) | |
) | |
print(len(facilities)) | |
pprint.pprint(facilities) | |
for x in facilities: | |
print(x.id, x.facility_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment