-
Notifications
You must be signed in to change notification settings - Fork 135
Data release US CPI pvmap fix #1906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| key,p1,v1,p2,v2,p3,v3,,,, | ||
| Place,observationAbout,{Data},populationType,ConsumerGoodsAndServices,measuredProperty,consumerPriceIndex,,,, | ||
| #Relative importance,#ignore,#ignore,,,,,,,, | ||
| Consumer Price Index,observationAbout,country/USA,,,,,,,, | ||
| #Consumer Price Index,observationAbout,country/USA,,,,,,,, | ||
| Unadjusted indexes,value,{Number},measurementQualifier,BLSSeasonallyUnadjusted,observationDate,{Year}-{Month},#Eval,"consumerGoodsCategory = str_to_camel_case(re.sub(""['\\-]"", """", Category.replace(' less ', ' except ')), '[^A-Za-z]')",#Aggregate,last | ||
| 2010,Year,2010,,,,,,,, | ||
| 2011,Year,2011,,,,,,,, | ||
|
|
@@ -52,8 +52,70 @@ Dec,Month,12,observationDate,{Year}-{Month},,,,,, | |
| Jan.,Month,1,observationDate,{Year}-{Month},,,,,, | ||
| #Unadjusted percent,#ignore,#ignore,,,,,,,, | ||
| #Seasonally adjusted percent,#ignore,#ignore,,,,,,,, | ||
| Expenditure category,Category,{Data},populationType,ConsumerGoodsAndServices,measuredProperty,consumerPriceIndex,,,, | ||
| Area,observationAbout,{Data},populationType,ConsumerGoodsAndServices,measuredProperty,consumerPriceIndex,consumer,UrbanConsumer,consumerGoodsCategory,AllItems | ||
| Expenditure category,Category,{Data},populationType,ConsumerGoodsAndServices,measuredProperty,consumerPriceIndex,observationAbout,country/USA,, | ||
| Area,populationType,ConsumerGoodsAndServices,measuredProperty,consumerPriceIndex,consumer,UrbanConsumer,consumerGoodsCategory,AllItems | ||
| CPI-W,consumer,UrbanWageEarnerAndClericalWorker,,,,,,,, | ||
| CPI-U,consumer,UrbanConsumer,,,,,,, | ||
| C-CPI-U,consumer,UrbanConsumer,,,,,,, | ||
| Northeast,observationAbout,usc/NortheastRegion | ||
| Midwest,observationAbout,usc/MidwestRegion | ||
| South,observationAbout,usc/SouthRegion | ||
| West,observationAbout,usc/WestRegion | ||
| New England(4),observationAbout,usc/NewEnglandDivision | ||
| Middle Atlantic(4),observationAbout,usc/MiddleAtlanticDivision | ||
| East North Central(4),observationAbout,usc/EastNorthCentralDivision | ||
| West North Central(4),observationAbout,usc/WestNorthCentralDivision | ||
| South Atlantic(4),observationAbout,usc/SouthAtlanticDivision | ||
| East South Central(4),observationAbout,usc/EastSouthCentralDivision | ||
| West South Central(4),observationAbout,usc/WestSouthCentralDivision | ||
| Mountain(4),observationAbout,usc/MountainDivision | ||
| Pacific(4),observationAbout,usc/PacificDivision | ||
| , | ||
| Atlanta-Sandy Springs-Roswell,observationAbout,geoId/C12060 | ||
| "Atlanta-Sandy Springs-Roswell, GA",observationAbout,geoId/C12060 | ||
| Baltimore-Columbia-Towson,observationAbout,geoId/C12580 | ||
| "Baltimore-Columbia-Towson, MD(6)",observationAbout,geoId/C12580 | ||
| Houston-The Woodlands-Sugar Land,observationAbout,geoId/C26420 | ||
| "Houston-The Woodlands-Sugar Land, TX",observationAbout,geoId/C26420 | ||
| Miami-Fort Lauderdale-West Palm Beach,observationAbout,geoId/C33100 | ||
| "Miami-Fort Lauderdale-West Palm Beach, FL",observationAbout,geoId/C33100 | ||
| Philadelphia-Camden-Wilmington,observationAbout,geoId/C37980 | ||
| "Philadelphia-Camden-Wilmington, PA-NJ-DE-MD",observationAbout,geoId/C37980 | ||
| Phoenix-Mesa-Scottsdale,observationAbout,geoId/C38060 | ||
| "Phoenix-Mesa-Scottsdale, AZ(7)",observationAbout,geoId/C38060 | ||
| San Francisco-Oakland-Hayward,observationAbout,geoId/C41860 | ||
| "San Francisco-Oakland-Hayward, CA",observationAbout,geoId/C41860 | ||
| Seattle-Tacoma-Bellevue,observationAbout,geoId/C42660 | ||
| "Seattle-Tacoma-Bellevue, WA",observationAbout,geoId/C42660 | ||
| St. Louis,observationAbout,geoId/C41180 | ||
| "St. Louis, MO-IL",observationAbout,geoId/C41180 | ||
| Boston-Cambridge-Newton,observationAbout,geoId/C14460 | ||
| "Boston-Cambridge-Newton, MA-NH",observationAbout,geoId/C14460 | ||
| Dallas-Fort Worth-Arlington,observationAbout,geoId/C19100 | ||
| "Dallas-Fort Worth-Arlington, TX",observationAbout,geoId/C19100 | ||
| Denver-Aurora-Lakewood,observationAbout,geoId/C19740 | ||
| "Denver-Aurora-Lakewood, CO",observationAbout,geoId/C19740 | ||
| Minneapolis-St.Paul-Bloomington,observationAbout,geoId/C33460 | ||
| "Minneapolis-St.Paul-Bloomington, MN-WI",observationAbout,geoId/C33460 | ||
| Riverside-San Bernardino-Ontario,observationAbout,geoId/C40140 | ||
| "Riverside-San Bernardino-Ontario, CA(4)",observationAbout,geoId/C40140 | ||
| San Diego-Carlsbad,observationAbout,geoId/C41740 | ||
| "San Diego-Carlsbad, CA",observationAbout,geoId/C41740 | ||
| Tampa-St. Petersburg-Clearwater,observationAbout,geoId/C45300 | ||
| "Tampa-St. Petersburg-Clearwater, FL(8)",observationAbout,geoId/C45300 | ||
| Washington-Arlington-Alexandria,observationAbout,geoId/C47894 | ||
| "Washington-Arlington-Alexandria, DC-VA-MD-WV(6)",observationAbout,geoId/C47894 | ||
| Northeast urban,observationAbout,usc/NortheastRegion | ||
| Midwest urban,observationAbout,usc/MidwestRegion | ||
| South urban,observationAbout,usc/SouthRegion | ||
| West urban,observationAbout,usc/WestRegion | ||
| Atlanta,observationAbout,geoId/1304000 | ||
| "Atlanta, GA",observationAbout,geoId/1304000 | ||
| Detroit-Warren-Dearborn,observationAbout,geoId/C19820 | ||
| "Detroit-Warren-Dearborn, MI",observationAbout,geoId/C19820 | ||
| Chicago-Naperville-Elgin,observationAbout,geoId/C16980 | ||
| "Chicago-Naperville-Elgin, IL-IN-WI", | ||
|
||
| Los Angeles-Long Beach-Anaheim,observationAbout,geoId/C31080 | ||
| "Los Angeles-Long Beach-Anaheim, CA",observationAbout,geoId/C31080 | ||
| New York-Newark-Jersey City,observationAbout,geoId/C35620 | ||
| "New York-Newark-Jersey City, NY-NJ-PA",observationAbout,geoId/C35620 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an empty line (
,) in thepvmap.csvfile. While some CSV parsers might ignore this, it's generally best practice to avoid empty lines in data files unless they serve a specific, documented purpose, as they can sometimes lead to unexpected parsing behavior.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed