File size: 14,644 Bytes
a1cd628
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
				Consumer Price Index (CU)
					cu.txt

Section Listing

1. Survey Definition
2. FTP files listed in the survey directory.
3. Time series, series file, data file, & mapping file definitions and relationships
4. Series file format and field definitions
5. Data file format and field definitions
6. Mapping file formats and field definitions
7. Data Element Dictionary
================================================================================
Section 1
================================================================================

The following is a definition of:  CONSUMER PRICE INDEX - All Urban Consumers (CU)

Survey Description: The Consumer Price Index (CPI) is a statistical measure
of change, over time, of the prices of goods and services in major 
expenditure groups--such as food, housing, apparel, transportation, and 
medical care--typically purchased by urban consumers. Essentially, it 
compares the cost of a sample "market basket" of goods and services in a 
specific month relative to the cost of the same "market basket" in an 
earlier reference period. This reference period is designated as the base 
period.

The CPI publishes indexes for two 
populations; all urban consumers (CU) and urban wage earners and clerical workers (CW).  

To construct the two indexes, thousands of prices for commodities and services purchased by consumers 
are collected in a sample of 75 urban places. Rent data is collected in a separate sample of thousands 
of rental units. Comparison of indexes for individual CMSA's or cities show only the relative
change over time in prices between locations. These indexes cannot be used
to measure interarea differences in price levels or living costs.

Summary Data Available: U.S. average indexes for both populations are 
available for several hundred consumer items and groups of items. In addition, 
many of the indexes have been adjusted for seasonality. The indexes are monthly. Different indexes 
go back to different years, with the earliest, including all items, dating to  1913. Semi-annual 
indexes have been calculated for many items for comparison with 
semi-annual areas mentioned below. Semi-annual indexes are available from 1984 forward.

Area indexes for both populations are available for 23 urban places. For 
each area, indexes are published for a subset of items and groups. The indexes
are published monthly for three areas and bimonthly for twenty areas. Regional and division level 
indexes for both populations are available for a subset of items and groups published. Indexes are 
published for four regions and nine divisions. Regional indexes date to 1966; divisional indexes 
are newer, dating to 2018. Indexes are monthly, with  Semi-annual indexes 
also calculated for selected items.  

City-size class indexes for both populations are available for two size classes 
with a similar subset of groups and items. 
Region/city-size indexes (for example, Midwest size class B/C)for both populations are also available monthly. 

Frequency of Observations: U.S. city average indexes, regional indexes, 
division  indexes, size class indexes, and three metro area indexes are monthly. 20 metro area indexes are bimonthly.

Annual Averages: Annual averages are available for all unadjusted series 
in the CW and CU.

Base Periods: Most indexes have a base period of 1982-1984 = 100.  Other 
indexes, mainly newer indexes, are based more recently.  The base period value is generally 100.0, 
with rare exceptions where the base is set to 1000 to avoid loss of precision. The index
for the "Purchasing Power" values (AAOR and SAOR) have a base period value of 1.000.

Data Characteristics: Indexes are published to three decimal places.

Updating Schedule:  Updates become available with the release of new data, typically between the 10th and 14th of the month 
following the reference month.

==================================================================================
Section 2
==================================================================================

The following Consumer Price Index (All Urban Consumers) files are on the BLS 
internet in the sub-directory pub/time.series/cu:

	cu.data.0.Current			-  All current year-to-date 
	cu.data.1.AllItems			-  All items (item_code AA0, SA0)
	cu.data.2.Summaries			-  Summaries (item_code SA0, SAF,
						   SAH, SAA, SAT, SAM, SAR, SAE, SAG,
						   SAS, SAC)
	cu.data.3.AsizeNorthEast		-  A-Size areas in Northeast
						   (area_code A1 ...)
	cu.data.4.AsizeNorthCentral		-  A-size areas in North Central
						   (area_code A2 ...)
	cu.data.5.AsizeSouth			-  A-Size areas in South
						   (area_code A3 ...)
	cu.data.6.AsizeWest			-  A-Size areas in West
						   (area_code A4 ...)
	cu.data.7.OtherNorthEast		-  All other Northeast
						   (area_code 01, X1, D1)
	cu.data.8.OtherNorthCentral		-  All other North Central
						   (area_code 02, X2, D2)
	cu.data.9.OtherSouth			-  All other in South
						   (area_code 03, X3, D3)
	cu.data.10.OtherWest			-  All other in West
						   (area_code 04, X4)  
	cu.data.11.USFoodBeverage		-  All US Food and Beverage
						   (area_code 0000, item_code SAF, SEF)
	cu.data.12.USHousing			-  All US Housing (area_code 0000, 
						   item_code SAH, SEH)
	cu.data.13.USApparel			-  All US Apparel (area_code 0000,
						   item_code SAA, SEA)
	cu.data.14.USTransportation		-  All US Transportation (area_code
						   0000, item_code SAT, SET)
	cu.data.15.USMedical			-  All US Medical (area_code 0000, 
						   item_code SAM, SEM, SS57)
	cu.data.16.USRecreation			-  All US Recreation (area_code 0000,
						   item_code SAR, SER, SS31, SS61, SS62)
	cu.data.17.USEducationAndCommunication	-  All US Education and Communication
						   (area_code 0000, item_code SAE,
						    SEE, SS27)
	cu.data.18.USOtherGoodsAndServices	-  All US Other Goods and Services
						   (area_code 0000, item_code SAG, SEG;
						    SS33)
	cu.data.19.PopulationSize		-  All Population-size (area_code
						   A000, X000, D000)
	cu.data.20.USCommoditiesServicesSpecial	-  All US Commodity and Services and 
						   Special(area_code 0000, item_code 
						   SA0, SAC, SAN, SAS)
	cu.area					-  Area codes		mapping file
	cu.contacts				-  Contacts for cu survey 
	cu.footnote				-  Footnote codes	mapping file
	cu.item					-  Item codes		mapping file
	cu.MapErrors (TBR)			-  Map error codes	mapping file
	cu.period				-  Period codes 	mapping file
	cu.series				-  All series and their beginning and end dates
	cu.txt					-  General information

Note: TBR = File that will be removed.		
=================================================================================
Section 3
=================================================================================
The definition of a time series, its relationship to and the interrelationship
among series, data and mapping files is detailed below:

A time series refers to a set of data observed over an extended period of time
over consistent time intervals (i.e. monthly, quarterly, semi-annually, annually).  
BLS time series data are typically produced at monthly intervals and represent data 
ranging from a specific consumer item in a specific geographical area whose price 
is gathered monthly to a category of worker in a specific industry whose employment
rate is being recorded monthly, etc.

The download.bls.gov files are organized such that data users are provided with the following
set of files to use in their efforts to interpret data files:

a)  a series file (only one series file per survey)
b)  mapping files
c)  data files

The series file contains a set of codes which, together, compose a series 
identification code that serves to uniquely identify a single time series.  
Additionally, the series file also contains the following series-level information:

a) the period and year corresponding to the first data observation 
b) the period and year corresponding to the most recent data observation 

The mapping files are definition files that contain explanatory text descriptions
that correspond to each of the various codes contained within each series
identification code.

The data file contains one line of data for each observation period pertaining to a
specific time series. Each line contains a reference to the following:

a) a series identification code
b) year in which data is observed
c) period for which data is observed (M13, Q05, and S03 indicate annual averages)
d) value
e) footnote code (if available)
=================================================================================
Section 4
=================================================================================
File Structure and Format: The following represents the file format used to define 
cu.series. Note that the Field Numbers are for reference only; they do not exist 
in the database.  Data files are in ASCII text format.  Data elements are separated 
by spaces; the first record of each file contains the column headers for the data
elements stored in each field.  Each record ends with a new line character. 

Field #/Data Element		Length		Value(Example)		

1.  series_id		  	17		CUSR0000SA0

2.  area_code		   	4		0400

3.  item_code		   	8		SA0E

4.  seasonal		   	1		S or U		
						
5.  periodicity_code	   	1		R	
						
6.  base_code		   	1		S

7.  base_period		   	20		1982-84=100		
				
8.  begin_year		   	4		1947		

9.  begin_period   		3		M01		

10. end_year			4		2002

11. end_period			3		M02
				

The series_id (CUSR0000SA0) can be broken out into:

Code					Value

survey abbreviation	=		CU
seasonal(code)		=		S
periodicity_code	=		R
area_code		=		0000
item_code		=		SA0
==================================================================================
Section 5
==================================================================================
File Structure and Format: The following represents the file format used to define
each data file. Note that the field numbers are for reference only; they do not 
exist in the database.  Data files are in ASCII text format.  Data elements are 
separated by spaces; the first record of each file contains the column headers for 
the data elements stored in each field. Each record ends with a new line character.   

The cu.data file is partitioned into a number of separate files:  See Section 2

All of the above-referenced data files have the following format:

Field #/Data Element	Length		Value(Example)		

1. series_id		  17		CUUR0400AA0

2. year			   4		1966	

3. period		   3		M12		

4. value		  12      	53.3	
				 
5. footnote_codes	  10		It varies
				

The series_id (CUUR0400AA0) can be broken out into:

Code					Value

survey abbreviation	=		CU
seasonal(code)		=		U
periodicity_code	=		R
area_code		=		0400
item_code		=		AA0
================================================================================
Section 6
================================================================================
File Structure and Format: The following represents the file format used to define
each mapping file. Note that the field numbers are for reference only; they do not
exist in the database.  Mapping files are in ASCII text format. Data elements are
separated by tabs; the first record of each file contains the column headers for the
data elements stored in each field.  Each record ends with a new line character. 

File Name:  cu.area

Field #/Data Element		Length		Value(Example)

1. area_code			4		0100

2. area_name			80		Text


File Name:  cu.footnote

Field #/Data Element		Length		Value(Example)

1. footnote_code		1		R

2. footnote_text		100		Text


File Name:  cu.item

Field #/Data Element		Length		Value(Example)

1. item_code			8		AA0

2. item_name			100		Text


File Name:  cu.period

Field #/Data Element		Length		Value(Example)

1. period			3		M02

2. period_abbr			5		FEB

3. period_name			20		Text (e.g. February)
=========================================================================================
Section 7
=========================================================================================
CONSUMER PRICE INDEX (CU) DATABASE ELEMENTS

Data Element	Length		Value(Example)			Description

area_code	4		N or S, ,000-999		Unique code used to identify
				Ex: A100 		a specific geographic area.
					
area_name	80		Text 			Name of specific geographic
				Ex: MIAMI, FLA		area.
				
base_code	1		S=Standard reference 	Code identifying the type of
				base			base period used in index.
				A=Alternate reference 
				base	

base_period	20		Identifies the base  	The actual base period used
				period			in calculating the index.
				Ex: 1982-84=100	
				     
begin_period	3		M01-M13 or S01-S03	Identifies first data observation
				Ex: MO6=June		within the first year for which 
				(M=Monthly, M13=Annual	data is available for a given
				Avg, S=Semi-Annually)	time series.
				
begin_year	4		YYYY			Identifies first year for which
				Ex: 1975		data is available for a given
							time series.

end_period	3		M01-M13 or S01-S03	Identifies last data observation
				Ex: M06=June		within the last year for which 
				(M=Monthly, M13=Annual	data is available for a given
				Avg, S=Semi-Annually)	time series.
				
end_year	4		YYYY			Identifies last year for which 
				Ex: 1980		data is available for a given  
							time series.

footnote_code	1		R			Identifies footnote for the data 
							series.

footnote_text	100		Text			Contains the text of the footnote.

item_code	8		SA0E			Identifies item for which 
							data observations pertain.

item_name	100		Text			Full names of items.
				
period_abbr	5		Text	 		Abbreviation of period name.
				Ex: JUN

period		3		M01-M13 or S01-S03	Identifies period for which
				Ex: M06=June		data is observed. 
				(M=Monthly, M13=Annual	
				Avg, S=Semi-Annually)
				
period_name	20		Text		 	Full name of period to which
				Ex: June		the data observation refers.
				
periodicity_	1		S=Semi-Annual		Frequency of data
code				R=Regular		observation.

seasonal	1		S=Seasonally		Code identifying whether the
				  Adjusted 		data are seasonally adjusted.
				U=Unadjusted			  		

series_id	17		CUSR0000SA0		Code identifying the specific 
							series.

value		12		53.3			Price index for item.
	   
year		4		YYYY			Identifies year of observation.
				Ex: 1990