Module Import alias ImportFrom alias ImportFrom alias Import alias If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num If CompareEq NameLoad Str body For NameStore Call AttributeLoad NameLoad attr Dict keyword ListLoad Str Str body If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore SubscriptLoad NameLoad Index Str Index SubscriptLoad NameLoad Index Str Dict Str Str Num Num Expr Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Dict Str SubscriptLoad NameLoad Index Str keyword NameLoad AugAssignAdd NameStore Num AugAssignAdd NameStore Num orelse With Call NameLoad NameLoad NameStore body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body AugAssignAdd NameStore Num Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr Dict Str SubscriptLoad NameLoad Index Str keyword ListLoad Str If UnaryOpNot NameLoad body Continue Assign NameStore BinOpDiv Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore BinOpDiv Call NameLoad SubscriptLoad NameLoad Index Str Num If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore SubscriptLoad NameLoad Index Str Index SubscriptLoad NameLoad Index Str Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Dict Str SubscriptLoad NameLoad Index Str keyword NameLoad AugAssignAdd NameStore Num Print BinOpMod Str NameLoad Print BinOpMod Str NameLoad Print BinOpMod Str NameLoad Print BinOpMod Str NameLoad
N/A N/A sys csvkit.unicsv UnicodeCSVReader pymongo objectid N/A utils N/A N/A N/A len N/A sys argv 2 N/A N/A N/A N/A sys exit You must provide a state fips code and the filename of a CSV as an argument to this script. N/A STATE_FIPS N/A N/A sys argv N/A 1 N/A FILENAME N/A N/A sys argv N/A 2 N/A collection N/A N/A utils get_geography_collection N/A inserts 0 N/A row_count 0 N/A N/A FILENAME FAKE N/A N/A geography N/A N/A collection find N/A fields N/A geoid xwalk N/A N/A N/A xwalk geography N/A N/A N/A geography N/A xwalk N/A N/A N/A N/A geography N/A xwalk N/A N/A geography N/A geoid N/A POPPCT00 HUPCT00 1.0 1.0 N/A N/A N/A collection update N/A _id N/A N/A objectid ObjectId N/A geography N/A _id N/A $set N/A xwalk N/A geography N/A xwalk safe True N/A row_count 1 N/A inserts 1 N/A N/A N/A open FILENAME f N/A N/A rows N/A UnicodeCSVReader f N/A headers N/A N/A rows next N/A row rows N/A N/A row_count 1 N/A row_dict N/A dict N/A zip headers row N/A N/A N/A row_dict N/A STATE10 STATE_FIPS N/A N/A N/A geography N/A N/A collection find_one N/A geoid N/A row_dict N/A GEOID10 fields N/A xwalk N/A N/A geography N/A N/A N/A pop_pct_2000 N/A N/A float N/A row_dict N/A POPPCT00 100 N/A house_pct_2000 N/A N/A float N/A row_dict N/A HUPCT00 100 N/A N/A xwalk geography N/A N/A N/A geography N/A xwalk N/A N/A N/A N/A geography N/A xwalk N/A N/A row_dict N/A GEOID00 N/A POPPCT00 HUPCT00 pop_pct_2000 house_pct_2000 N/A N/A N/A collection update N/A _id N/A N/A objectid ObjectId N/A geography N/A _id N/A $set N/A xwalk N/A geography N/A xwalk safe True N/A inserts 1 N/A N/A State: %s STATE_FIPS N/A N/A File: %s FILENAME N/A N/A  Row count: %i row_count N/A N/A  Inserted: %i inserts