syncster-data commited on
Commit
057ebfc
·
verified ·
1 Parent(s): 98920ef

Add BLS batch w1

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. bls/ap/README.md +21 -0
  3. bls/ap/ap.txt +293 -0
  4. bls/ap/ap_area.parquet +3 -0
  5. bls/ap/ap_contacts.parquet +3 -0
  6. bls/ap/ap_data_0_Current.parquet +3 -0
  7. bls/ap/ap_data_1_HouseholdFuels.parquet +3 -0
  8. bls/ap/ap_data_2_Gasoline.parquet +3 -0
  9. bls/ap/ap_data_3_Food.parquet +3 -0
  10. bls/ap/ap_footnote.parquet +3 -0
  11. bls/ap/ap_item.parquet +3 -0
  12. bls/ap/ap_period.parquet +3 -0
  13. bls/ap/ap_seasonal.parquet +3 -0
  14. bls/ap/ap_series.parquet +3 -0
  15. bls/bd/README.md +27 -0
  16. bls/bd/bd.txt +465 -0
  17. bls/bd/bd_contacts.parquet +3 -0
  18. bls/bd/bd_county.parquet +3 -0
  19. bls/bd/bd_data_0_Current.parquet +3 -0
  20. bls/bd/bd_data_1_AllItems.parquet +3 -0
  21. bls/bd/bd_dataclass.parquet +3 -0
  22. bls/bd/bd_dataelement.parquet +3 -0
  23. bls/bd/bd_footnote.parquet +3 -0
  24. bls/bd/bd_industry.parquet +3 -0
  25. bls/bd/bd_msa.parquet +3 -0
  26. bls/bd/bd_ownership.parquet +3 -0
  27. bls/bd/bd_periodicity.parquet +3 -0
  28. bls/bd/bd_ratelevel.parquet +3 -0
  29. bls/bd/bd_seasonal.parquet +3 -0
  30. bls/bd/bd_series.parquet +3 -0
  31. bls/bd/bd_sizeclass.parquet +3 -0
  32. bls/bd/bd_state.parquet +3 -0
  33. bls/bd/bd_unitanalysis.parquet +3 -0
  34. bls/bg/README.md +20 -0
  35. bls/bg/bg.contacts +24 -0
  36. bls/bg/bg.txt +393 -0
  37. bls/bg/bg_alteration.parquet +3 -0
  38. bls/bg/bg_data_1_AllData.parquet +3 -0
  39. bls/bg/bg_duration.parquet +3 -0
  40. bls/bg/bg_measure.parquet +3 -0
  41. bls/bg/bg_period.parquet +3 -0
  42. bls/bg/bg_sector.parquet +3 -0
  43. bls/bg/bg_selection.parquet +3 -0
  44. bls/bg/bg_series.parquet +3 -0
  45. bls/bg/bg_unit.parquet +3 -0
  46. bls/bp/README.md +21 -0
  47. bls/bp/bp.contacts +24 -0
  48. bls/bp/bp.txt +406 -0
  49. bls/bp/bp_alteration.parquet +3 -0
  50. bls/bp/bp_data_1_AllData.parquet +3 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ bls/cb/cb.series filter=lfs diff=lfs merge=lfs -text
bls/ap/README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BLS survey `ap`
2
+
3
+ Source: U.S. Bureau of Labor Statistics, LABSTAT time-series database (https://download.bls.gov/pub/time.series/ap/). Public domain U.S. government data. Credit: U.S. Bureau of Labor Statistics.
4
+
5
+ Survey documentation: `ap.txt`.
6
+
7
+ `*_series.parquet` defines each series_id (labels); `*_data_*.parquet` holds series_id, year, period (M01-M12 monthly, Q0x quarterly, A01/M13 annual), value, footnote_codes; other files map codes to labels.
8
+
9
+ | file | rows | columns |
10
+ |---|---|---|
11
+ | ap.area | 74 | area_code, area_name |
12
+ | ap.contacts | 16 | Consumer Price Indexes Contacts |
13
+ | ap.data.0.Current | 213718 | series_id, year, period, value, footnote_codes |
14
+ | ap.data.1.HouseholdFuels | 106978 | series_id, year, period, value, footnote_codes |
15
+ | ap.data.2.Gasoline | 99524 | series_id, year, period, value, footnote_codes |
16
+ | ap.data.3.Food | 150051 | series_id, year, period, value, footnote_codes |
17
+ | ap.footnote | 1 | footnote_code, footnote_text |
18
+ | ap.item | 160 | item_code, item_name |
19
+ | ap.period | 13 | period, period_abbr, period_name |
20
+ | ap.seasonal | 2 | seasonal_code, seasonal_text |
21
+ | ap.series | 1483 | series_id, area_code, item_code, series_title, footnote_codes, begin_year, begin_period, end_year, end_period |
bls/ap/ap.txt ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Average Price Data (AP)
2
+ ap.txt
3
+
4
+ Section Listing
5
+
6
+ 1. Survey Definition
7
+ 2. FTP files listed in the survey directory
8
+ 3. Time series, series file, data file, & mapping file definitions and relationships
9
+ 4. Series file format and field definitions
10
+ 5. Data file format and field definitions
11
+ 6. Mapping file formats and field definitions
12
+ 7. Data Element Dictionary
13
+
14
+ ===================================================================================
15
+ Section 1
16
+ ===================================================================================
17
+
18
+ The following is a definition of: Average Price Data (AP)
19
+
20
+ Survey Description: Average consumer prices are calculated for household
21
+ fuel, motor fuel, and food items from prices collected for the Consumer
22
+ Price Index (CPI). Average prices are best used to measure the price level
23
+ in a particular month, not to measure price change over time. It is more
24
+ appropriate to use CPI index values for the particular item categories to measure
25
+ price change.
26
+
27
+ Prices, except for electricity, are collected monthly by BLS representatives
28
+ in the 75 urban areas priced for the CPI. Electricity prices are collected
29
+ for the BLS for the same 75 areas on a monthly basis by the Department of
30
+ Energy using mail questionnaires. All fuel prices include applicable
31
+ Federal, State, and local taxes; prices for natural gas and electricity also
32
+ include fuel and purchased gas adjustments.
33
+
34
+ Summary Data Available: Average consumer prices for household fuel and
35
+ motor fuel are available for the U.S. city average, 23 urban areas, 4
36
+ regions, 12 region/size class groupings, and 9 divisions.
37
+
38
+ Average consumer prices for food are available for the U.S. city average, and
39
+ four regions.
40
+
41
+ Monthly data are available for up to 6 household fuel categories, 6
42
+ motor fuel categories, and around 100 food categories.
43
+
44
+ Frequency of Observations: All data are monthly; annual averages are not
45
+ available.
46
+
47
+ Data Characteristics: Average prices are stored to three decimal places.
48
+
49
+ Updating Schedule: Updates become available with the monthly release of new data, typically from the 10th to the 14th of the month
50
+ following the reference month.
51
+ ====================================================================================
52
+ Section 2
53
+ ====================================================================================
54
+ The following Average Price Data files are on the BLS internet in the sub-directory
55
+ pub/time.series/ap:
56
+
57
+ ap.data.0.Current - All current year-to-date data
58
+ ap.data.1.HouseholdFuels - All household fuels data
59
+ ap.data.2.Gasoline - All gasoline data
60
+ ap.data.3.Food - All food data
61
+ ap.area - Area codes mapping file
62
+ ap.contacts - Contacts for ap survey
63
+ ap.footnote - Footnote codes mapping file
64
+ ap.item - Item codes mapping file
65
+ ap.period - Period codes mapping file
66
+ ap.series - All series and their beginning and end Dates
67
+ ap.txt - General information
68
+
69
+ =================================================================================
70
+ Section 3
71
+ =================================================================================
72
+ The definition of a time series, its relationship to and the interrelationship
73
+ among series, data and mapping files is detailed below:
74
+
75
+ A time series refers to a set of data observed over an extended period of time
76
+ over consistent time intervals (i.e. monthly, quarterly, semi-annually, annually).
77
+ BLS time series data are typically produced at monthly intervals and represent data
78
+ ranging from a specific consumer item in a specific geographical area whose price
79
+ is gathered monthly to a category of worker in a specific industry whose employment
80
+ rate is being recorded monthly, etc.
81
+
82
+ The FTP files are organized such that data users are provided with the following
83
+ set of files to use in their efforts to interpret data files:
84
+
85
+ a) a series file (only one series file per survey)
86
+ b) mapping files
87
+ c) data files
88
+
89
+ The series file contains a set of codes which, together, compose a series
90
+ identification code that serves to uniquely identify a single time series.
91
+ Additionally, the series file also contains the following series-level information:
92
+
93
+ a) the period and year corresponding to the first data observation
94
+ b) the period and year corresponding to the most recent data observation
95
+
96
+ The mapping files are definition files that contain explanatory text descriptions
97
+ that correspond to each of the various codes contained within each series
98
+ identification code.
99
+
100
+ The data file contains one line of data for each observation period pertaining to a
101
+ specific time series. Each line contains a reference to the following:
102
+
103
+ a) a series identification code
104
+ b) year in which data is observed
105
+ c) period for which data is observed (M13, Q05, and S03 indicate annual averages)
106
+ d) value
107
+ e) footnote code (if available)
108
+ =================================================================================
109
+ Section 4
110
+ =================================================================================
111
+ File Structure and Format: The following represents the file format used to define
112
+ ap.series. Note the Field Numbers are for reference only; they do not exist in the
113
+ database. Data files are in ASCII text format. Data elements are separated by
114
+ spaces; the first record of each file contains the column headers for the data
115
+ elements stored in each field. Each record ends with a new line character.
116
+
117
+ Field #/Data Element Length Value(Example)
118
+
119
+ 1. series_id 17 APU0000701111
120
+
121
+ 2. area_code 4 S100
122
+
123
+ 3. item_code 7 712211
124
+
125
+ 4. begin_year 4 1980
126
+
127
+ 5. begin_period 3 M01
128
+
129
+ 6. end_year 4 2002
130
+
131
+ 7. end_period 3 M02
132
+
133
+
134
+ The series_id (APU0000701111) can be broken out into:
135
+
136
+ Code Value(Example)
137
+
138
+ survey abbreviation = AP
139
+ seasonal(code) = U
140
+ area_code = 0000
141
+ item_code = 701111
142
+ ==================================================================================
143
+ Section 5
144
+ ==================================================================================
145
+ File Structure and Format: The following represents the file format used to define
146
+ each data file. Note that the field numbers are for reference only; they do not
147
+ exist in the database. Data files are in ASCII text format. Data elements are
148
+ separated by spaces; the first record of each file contains the column headers for
149
+ the data elements stored in each field. Each record ends with a new line character.
150
+
151
+ The ap.data file is partitioned into four separate files:
152
+
153
+ 1. ap.data.0.Current = All current year-to-date data
154
+ 2. ap.data.1.HouseholdFuels = All household fuel (fuel oil,
155
+ utility gas, electricity) data
156
+ 3. ap.data.2.Gasoline = All gasoline data
157
+ 4. ap.data.3.Food = All food data
158
+
159
+ Both of the above data files have the following format:
160
+
161
+ Field #/Data Element Length Value(Example)
162
+
163
+ 1. series_id 17 APU0000701111
164
+
165
+ 2. year 4 1980
166
+
167
+ 3. period 3 M01
168
+
169
+ 4. value 12 0.238
170
+
171
+
172
+ 5. footnote_codes 10 It varies
173
+
174
+
175
+ The series_id (APU0000701111) can be broken out into:
176
+
177
+ Code Value(Example)
178
+
179
+ survey abbreviation = AP
180
+ seasonal(code) = U
181
+ area_code = 0000
182
+ item_code = 701111
183
+ ============================================================================
184
+ Section 6
185
+ ============================================================================
186
+ File Structure and Format: The following represents the file format used to define
187
+ each mapping file. Note that the field numbers are for reference only; they do not
188
+ exist in the database. Mapping files are in ASCII text format. Data elements are
189
+ separated by tabs; the first record of each file contains the column headers for the
190
+ data elements stored in each field. Each record ends with a new line character.
191
+
192
+ File Name: ap.area
193
+
194
+ Field #/Data Element Length Value(Example)
195
+
196
+ 1. area_code 4 A100
197
+
198
+ 2. area_name 80 Text
199
+
200
+
201
+ File Name: ap.footnote
202
+
203
+ Field #/Data Element Length Value(Example)
204
+
205
+ 1. footnote_code 1 C
206
+
207
+ 2. footnote_text 100 Text
208
+
209
+
210
+ File Name: ap.item
211
+
212
+ Field #/Data Element Length Value(Example)
213
+
214
+ 1. item_code 7 712211
215
+
216
+ 2. item_name 100 Text
217
+
218
+
219
+ File Name: ap.period
220
+
221
+ Field #/Data Element Length Value(Example)
222
+
223
+ 1. period 3 M01
224
+
225
+ 2. period_abbr 5 JAN
226
+
227
+ 3. period_name 20 Text
228
+ ==============================================================================
229
+ Section 7
230
+ ==============================================================================
231
+
232
+ AVERAGE PRICE DATA (AP) DATABASE ELEMENTS
233
+
234
+
235
+ Data Element Length Value(Example) Description
236
+
237
+ area_code 4 A100 Unique code used to identify
238
+ a specific geographic area.
239
+
240
+ area_name 80 Text Name of specific geographic
241
+ Ex: MIAMI, FLA area.
242
+
243
+ begin_period 3 M02 Identifies first data observation
244
+ Ex: M02=Feb within the first year for which
245
+ (M=Monthly, M13= data is available for a given time
246
+ Annual Avg) series.
247
+
248
+ begin_year 4 1990 Identifies first year for which
249
+ data is available for a given time
250
+ series.
251
+
252
+ end_period 3 M06 Identifies last data observation
253
+ Ex: M06=June within the last year for which
254
+ (M=Monthly, M13= data is available for a given time
255
+ Annual Avg) series.
256
+
257
+ end_year 4 2000 Identifies last year for which data
258
+ is available for a given time
259
+ series.
260
+
261
+ footnote_code 1 C Identifies footnote for the data
262
+ series.
263
+
264
+ footnote_codes 10 It varies Identifies footnotes for the data
265
+ series.
266
+
267
+ footnote_text 100 Text Contains the text of the footnote.
268
+
269
+ item_code 7 712211 Identifies item for which
270
+ data observations pertain.
271
+
272
+ item_name 100 Text Full names of items.
273
+
274
+ period_abbr 5 JAN Abbreviation of period name.
275
+
276
+ period 3 M01 Identifies period for which data
277
+ Ex: M01=Jan is observed.
278
+ (M=Monthly, M13=
279
+ Annual Avg)
280
+
281
+ period_name 20 Text Full name of period to which
282
+ Ex: January the data observation refers.
283
+
284
+
285
+ series_id 17 APU0000701111 Code identifying the specific
286
+ series.
287
+
288
+ value 12 10.124 Average price of item.
289
+
290
+ year 4 1990 Identifies year of observation.
291
+
292
+
293
+
bls/ap/ap_area.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65572f4839388fc00b6277d7bf8bd17b16b41acba765ae650d8ad86acb69c710
3
+ size 3121
bls/ap/ap_contacts.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b97a6c7024a8f105995a8130aa99474c13062ee3354d3d9b405db962f2612b14
3
+ size 2063
bls/ap/ap_data_0_Current.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f405567cbfda4ded1cae988c7a345635ba5a544d7a52d97302cce59959af271f
3
+ size 508558
bls/ap/ap_data_1_HouseholdFuels.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32232958e0f8c1d888ef5e15e4b2ce42af24f3fe6936e6864da47d637320bf8f
3
+ size 363474
bls/ap/ap_data_2_Gasoline.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d5d63e8c18956a44892a48d2f2717fa67c9b2b58d522d9cc791b6d495527c81
3
+ size 189241
bls/ap/ap_data_3_Food.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c21d177c9503ced78cf1b9609047f824625e9595d8356c1529fa4229b9582886
3
+ size 317520
bls/ap/ap_footnote.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a09493634ef5704dfc296e0bf6729b23fe0b70d04e7f51d491f87300168c28b
3
+ size 2017
bls/ap/ap_item.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d314ce3397495891b48582e8d9fc5f1cfa90f996f7e3044ab4294e23fc87056
3
+ size 5051
bls/ap/ap_period.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca8014166cf7db03c66843bf348460b8abe53d523d801e835255dd6416422b44
3
+ size 2489
bls/ap/ap_seasonal.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a60b694ad35d825ec374b3fd8125a96c3feac221d8b94eabf894653aa641fbe9
3
+ size 1858
bls/ap/ap_series.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc0e4677727a9e808af463491ba9cc94b1f2eca55b4a0ab391c4dedb28b45155
3
+ size 28443
bls/bd/README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BLS survey `bd`
2
+
3
+ Source: U.S. Bureau of Labor Statistics, LABSTAT time-series database (https://download.bls.gov/pub/time.series/bd/). Public domain U.S. government data. Credit: U.S. Bureau of Labor Statistics.
4
+
5
+ Survey documentation: `bd.txt`.
6
+
7
+ `*_series.parquet` defines each series_id (labels); `*_data_*.parquet` holds series_id, year, period (M01-M12 monthly, Q0x quarterly, A01/M13 annual), value, footnote_codes; other files map codes to labels.
8
+
9
+ | file | rows | columns |
10
+ |---|---|---|
11
+ | bd.contacts | 2 | Business Employment Dynamics Program Contacts |
12
+ | bd.county | 1 | county_code, county_name |
13
+ | bd.data.0.Current | 3584256 | series_id, year, period, value, footnote_codes |
14
+ | bd.data.1.AllItems | 4598544 | series_id, year, period, value, footnote_codes |
15
+ | bd.dataclass | 8 | dataclass_code, dataclass_name, display_level, selectable, sort_sequence |
16
+ | bd.dataelement | 2 | dataelement_code, dataelement_name |
17
+ | bd.footnote | 2 | footnote_code, footnote_text |
18
+ | bd.industry | 91 | industry_code, industry_name, display_level, selectable, sort_sequence |
19
+ | bd.msa | 1 | msa_code, msa_name |
20
+ | bd.ownership | 1 | ownership_code, ownership_name |
21
+ | bd.periodicity | 2 | periodicity_code, periodicity_name |
22
+ | bd.ratelevel | 2 | ratelevel_code, ratelevel_name |
23
+ | bd.seasonal | 2 | seasonal_code, seasonal_text |
24
+ | bd.series | 34464 | series_id, seasonal, msa_code, state_code, county_code, industry_code, unitanalysis_code, dataelement_code, sizeclass_code, dataclass_code, ratelevel_code, periodicity_code, ownership_code, series_title, footnote_codes, begin_year, begin_period, end_year, end_period |
25
+ | bd.sizeclass | 32 | sizeclass_code, sizeclass_name |
26
+ | bd.state | 54 | state_code, state_name |
27
+ | bd.unitanalysis | 1 | unitanalysis_code, unitanalysis_name |
bls/bd/bd.txt ADDED
@@ -0,0 +1,465 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Business Employment Dynamics (BD)
2
+ bd.txt
3
+
4
+ Section Listing
5
+
6
+ 1. Database Definition
7
+ 2. FTP files listed in the database directory.
8
+ 3. Time series, series file, data file, & mapping file definitions and relationships
9
+ 4. Series file format and field definitions
10
+ 5. Data file format and field definitions
11
+ 6. Mapping file formats and field definitions
12
+ 7. Data Element Dictionary
13
+
14
+
15
+ ================================================================================
16
+ Section 1
17
+ ================================================================================
18
+
19
+ The following is a definition of: BUSINESS EMPLOYMENT DYNAMICS
20
+
21
+ Program Description: Business Employment Dynamics statistics track changes
22
+ in employment at the establishment level, revealing the dynamics underlying net
23
+ changes in employment.
24
+
25
+ Summary Data Available: Quarterly data on Business Employment Dynamics are
26
+ derived from the Quarterly Census of Employment and Wages program.
27
+ This program is the quarterly census of all establishments under State
28
+ unemployment insurance programs, representing about 98 percent of employment on
29
+ nonfarm payrolls. The data include all establishments subject to the State
30
+ unemployment insurance (UI) laws and Federal agencies subject to the
31
+ Unemployment Compensation for Federal Employees (UCFE) program. Major
32
+ exclusions from UI coverage are the self-employed workers, religious
33
+ organizations, most agricultural workers on small farms, members of the Armed
34
+ Forces and certain small nonprofit organizations.
35
+
36
+ The Business Employment Dynamics totals require that establishment data be
37
+ linked across quarters. This longitudinal aspect of the data allows the
38
+ tracking of when establishments open, close, and expand or contract their
39
+ employees. There are four types of job flows: employment gains at opening
40
+ establishments, employment expansions at existing establishments, employment
41
+ losses at closing establishments, and employment contractions at existing
42
+ establishments. Increases in employment at opening and expanding
43
+ establishments sum to measure job gains. Declines in employment at closing and
44
+ contracting establishments sum to measure job losses. The more traditional
45
+ measure of a net change in the employment is the difference between the number
46
+ of jobs gained and the number of jobs lost. Data on establishment births and
47
+ deaths are also available. Establishment births are a subset of openings,
48
+ whereas establishment deaths are a subset of closings. These additional data
49
+ categories remove seasonal and temporary openings and closings from the entire
50
+ sets of those two series.
51
+
52
+ Currently, job flow estimates are available as levels and as rates for the
53
+ private sector, 2 and 3 digit NAICS sectors, total private and 2-digit NAICS
54
+ sector by state, total private by size of employment change, and firm level
55
+ size class data. The rates measure gross job gains and losses and their
56
+ components as a percentage of the average of the previous and current quarter
57
+ employment. Business Employment Dynamics statistics cover the period from
58
+ September 1992 to the most recent quarter available. Estimates are available
59
+ with and without seasonal adjustments. Seasonal adjustment is run concurrently
60
+ and models are updated annually.
61
+
62
+ Special characteristics of the data are footnoted where necessary.
63
+
64
+ Updating Schedule: Business Employment Dynamics are updated quarterly and will
65
+ be available about six months after the end of the reference quarter. Reference
66
+ quarters end in March, June, September, and December.
67
+
68
+ ==================================================================================
69
+ Section 2
70
+ ==================================================================================
71
+
72
+ The following Employment, Hours, and Earnings--National files are on the BLS
73
+ internet in the sub-directory pub/time.series/bd:
74
+
75
+
76
+ bd.contacts - Contacts for bd data
77
+ bd.county - County codes mapping file
78
+ bd.data.0.Current - All current year-to-date data
79
+ bd.data.1.AllItems - All items
80
+ bd.dataclass - Data class codes mapping file
81
+ bd.dataelement - Data element codes mapping file
82
+ bd.footnote - Footnote codes
83
+ bd.industry - Industry codes mapping file
84
+ bd.msa - MSA codes mapping file
85
+ bd.ownership - Ownership codes mapping file
86
+ bd.periodicity - Periodicity codes mapping file
87
+ bd.ratelevel - Rate level codes mapping file
88
+ bd.seasonal - Seasonal adjustment code mapping file
89
+ bd.series - All series and their beginning and end dates
90
+ bd.sizeclass - Sizeclass codes mapping file
91
+ bd.state - State codes mapping file
92
+ bd.txt - General information
93
+ bd.unitanalysis - Unitanalysis codes mapping file
94
+
95
+
96
+ =================================================================================
97
+ Section 3
98
+ =================================================================================
99
+ The definition of a time series, its relationship to and the interrelationship
100
+ among series, data and mapping files is detailed below:
101
+
102
+ A time series refers to a set of data observed over an extended period of time
103
+ over consistent time intervals (i.e. monthly, quarterly, semi-annually, annually).
104
+ BLS time series data are typically produced at monthly intervals and represent data
105
+ ranging from a specific consumer item in a specific geographical area whose price
106
+ is gathered monthly to a category of worker in a specific industry whose employment
107
+ rate is being recorded monthly, etc.
108
+
109
+ The FTP files are organized such that data users are provided with the following
110
+ set of files to use in their efforts to interpret data files:
111
+
112
+ a) a series file (only one series file per data)
113
+ b) mapping files
114
+ c) data files
115
+
116
+ The series file contains a set of codes which, together, compose a series
117
+ identification code that serves to uniquely identify a single time series.
118
+ Additionally, the series file also contains the following series-level information:
119
+
120
+ a) the period and year corresponding to the first data observation
121
+ b) the period and year corresponding to the most recent data observation.
122
+
123
+ The mapping files are definition files that contain explanatory text descriptions
124
+ that correspond to each of the various codes contained within each series
125
+ identification code.
126
+
127
+ The data file contains one line of data for each observation period pertaining to a
128
+ specific time series. Each line contains a reference to the following:
129
+
130
+ a) a series identification code
131
+ b) year in which data is observed
132
+ c) period for which data is observed (M13, Q05, and S03 indicate annual averages)
133
+ d) value
134
+ e) footnote code (if available)
135
+
136
+ =================================================================================
137
+ Section 4
138
+ =================================================================================
139
+ File Structure and Format: The following represents the file format used to define
140
+ bd.series. Note that the Field Numbers are for reference only; they do not exist
141
+ in the database. Data files are in ASCII text format. Data elements are separated
142
+ by spaces; the first record of each file contains the column headers for the data
143
+ elements stored in each field. Each record ends with a new line character.
144
+
145
+ Field #/Data Element Length Value(Example)
146
+
147
+ 1. series_id 30 BDS0000006000200090110004LQ5 (NOTE: last two characters are intentionally left blank)
148
+
149
+ 2. seasonal 1 S or U (S=seasonally adjusted, U=Not seasonally adjusted)
150
+
151
+ 3. msa_code 5 00000 (Currently Business Employment Dynamics does not produce data at MSA level)
152
+
153
+ 4. state_code 2 00 (This is for U.S. totals - state data based on FIPs code)
154
+
155
+ 5. county_code 3 000 (Currently Business Employment Dynamics does not produce data at county level)
156
+
157
+ 6. industry_code 6 000000 (See bd.industry for industry mapping file, NOTE: State data only available at 2-digit NAICS, National at 2 or 3 digit NAICS)
158
+
159
+ 7. unitanalysis_code 1 1 (Used for both establishment and firm size class data series)
160
+
161
+ 8. dataelement_code 1 1 or 2 (1=Employment change level, 2=Number of establishments)
162
+
163
+ 9. sizeclass_code 2 01 (00 is for establishment level by industry and/or state, 01 - 09 is for firm size class, >=10 is for establishment data by size of employment change)
164
+
165
+ 10. dataclass_code 2 01 (ranges from 01-08, with 07 being establishment births and 08 establishment deaths)
166
+
167
+ 11. ratelevel_code 1 L or R (L=level, R=rate)
168
+
169
+ 12. periodicity_code 1 Q or A (Q=quarterly, A=annual NOTE: not all data are available for annual series)
170
+
171
+ 13. ownership_code 1 5 (Private sector only)
172
+
173
+ 14. series_title 256 It varies
174
+
175
+ 15. footnote_codes 10 It varies
176
+
177
+ 16. begin_year 4 1992
178
+
179
+ 17. begin_period 3 Q03
180
+
181
+ 18. end_year 4 2021 (As of last update to this file)
182
+
183
+ 19. end_period 3 Q04 (As of last update to this file)
184
+
185
+
186
+ The series_id (BDS0000006000200090110004LQ5) can be broken out into:
187
+
188
+ Code Value
189
+
190
+ data abbreviation = BD
191
+ seasonal (code) = S
192
+ msa_code = 00000
193
+ state_code = 06
194
+ county_code = 000
195
+ industry_code = 200090
196
+ unitanalysis_code = 1
197
+ dataelement_code = 1
198
+ sizeclass_code = 00
199
+ dataclass_code = 04
200
+ ratelevel_code = L
201
+ periodicity_code = Q
202
+ ownership_code = 5
203
+
204
+ ==================================================================================
205
+ Section 5
206
+ ==================================================================================
207
+ File Structure and Format: The following represents the file format used to define
208
+ each data file. Note that the field numbers are for reference only; they do not
209
+ exist in the database. Data files are in ASCII text format. Data elements are
210
+ separated by spaces; the first record of each file contains the column headers for
211
+ the data elements stored in each field. Each record ends with a new line character.
212
+
213
+ The bd.data file is partitioned into a number of separate files: See Section 2
214
+
215
+ The above-referenced data files have the following format:
216
+
217
+ Field #/Data Element Length Value(Example)
218
+
219
+ 1. series_id 30 BDS0000006000200090110004LQ5
220
+
221
+ 2. year 4 2020
222
+
223
+ 3. period 3 Q02
224
+
225
+ 4. value 12 821741
226
+
227
+ 5. footnote_codes 10 It varies
228
+
229
+
230
+ ================================================================================
231
+ Section 6
232
+ ================================================================================
233
+ File Structure and Format: The following represents the file format used to define
234
+ each mapping file. Note that the field numbers are for reference only; they do not
235
+ exist in the database. Mapping files are in ASCII text format. Data elements are
236
+ separated by tabs; the first record of each file contains the column headers for the
237
+ data elements stored in each field. Each record ends with a new line character.
238
+
239
+
240
+ File Name: bd.county
241
+
242
+ Field #/Data Element Length Value(Example)
243
+
244
+ 1. county_code 3 000
245
+
246
+ 2. county_name 100 National
247
+
248
+
249
+
250
+ File Name: bd.dataclass
251
+
252
+ Field #/Data Element Length Value(Example)
253
+
254
+ 1. dataclass_code 2 07
255
+
256
+ 2. dataclass_name 60 Establishment Births
257
+
258
+
259
+
260
+ File Name: bd.dataelement
261
+
262
+ Field #/Data Element Length Value(Example)
263
+
264
+ 1. dataelement_code 1 2
265
+
266
+ 2. dataelement_name 80 Number of Establishments (NOTE: Firm size class data does not include counts of the number of firms for any data class. This is because of the dynamic sizing methodology used to construct the series.)
267
+
268
+
269
+
270
+ File Name: bd.industry
271
+
272
+ Field #/Data Element Length Value(Example)
273
+
274
+ 1. industry_code 6 200090
275
+
276
+ 2. industry_name 100 Leisure and hospitality (NOTE: For 3-digit NAICS national data the code is 300 followed by the 3-digit NAICS code - EX: 300721 = Accommodation)
277
+
278
+
279
+
280
+ File Name: bd.msa
281
+
282
+ Field #/Data Element Length Value(Example)
283
+
284
+ 1. msa_code 5 00000
285
+
286
+ 2. msa_name 100 National
287
+
288
+
289
+
290
+ File Name: bd.ownership
291
+
292
+ Field #/Data Element Length Value(Example)
293
+
294
+ 1. ownership_code 1 5
295
+
296
+ 2. ownership_name 30 Private Sector
297
+
298
+
299
+
300
+ File Name: bd.periodicity
301
+
302
+ Field #/Data Element Length Value(Example)
303
+
304
+ 1. periodicity_code 1 Q
305
+
306
+ 2. periodicity_name 30 Quarterly (Annual data are available for U.S. totals at the 2-digit NAICS sector level and for each state at the Total private level. These values can be downloaded for each quarter (i.e. March to March, June to June, etc.), however the supplemental tables and charts are only updated once a year for the March to March time period.
307
+
308
+
309
+
310
+ File Name: bd.ratelevel
311
+
312
+ Field #/Data Element Length Value(Example)
313
+
314
+ 1. ratelevel_code 1 L
315
+
316
+ 2. ratelevel_name 30 Level (Rates are calculated using the value of the component for a given series as the numerator and the average of the current and prior quarter levels (either employment or establishment counts) as the denominator. The BD program does not produce data for levels, but those data can be obtained at www.bls.gov/cew
317
+
318
+
319
+
320
+ File Name: bd.sizeclass
321
+
322
+ Field #/Data Element Length Value(Example)
323
+
324
+ 1. sizeclass_code 2 00
325
+
326
+ 2. sizeclass_name 100 All size classes (00 is for industry and/or state data, 01 to 09 is for firm size class, >=10 is for establishment level by size of employment change)
327
+
328
+
329
+
330
+ File Name: bd.state
331
+
332
+ Field #/Data Element Length Value(Example)
333
+
334
+ 1. state_code 2 06
335
+
336
+ 2. state_name 30 California
337
+
338
+
339
+
340
+ File Name: bd.unitanalysis
341
+
342
+ Field #/Data Element Length Value(Example)
343
+
344
+ 1. unitanalysis_code 1 1
345
+
346
+ 2. unitanalysis_name 30 Establishment
347
+
348
+
349
+
350
+ =========================================================================================
351
+ Section 7
352
+ =========================================================================================
353
+ BUSINESS EMPLOYMENT DYNAMICS(BD) DATABASE ELEMENTS
354
+
355
+ Data Element Length Value(Example) Description
356
+
357
+ begin_period 3 M01-M13 Identifies first data observation
358
+ Q01-Q05 within the first year for which
359
+ Ex: M06=June data are available for a given
360
+ (M=Monthly, M13=Annual time series.
361
+ Avg, Q=Quarterly, Q05=
362
+ Annual Avg)
363
+
364
+ begin_year 4 YYYY Identifies first year for which
365
+ Ex: 1992 data are available for a given
366
+ time series.
367
+
368
+ county_code 3 000 Code identifying the county of the
369
+ observation.
370
+
371
+ county_name 100 Text County name of the observation.
372
+ Ex. National
373
+
374
+ dataclass_code 2 02 Code identifying the data class
375
+ of the observation.
376
+
377
+ dataclass_name 60 Text Data class name of the observation.
378
+ Ex: Expansions
379
+
380
+ dataelement_code 1 1 Code identifying the data element
381
+ of the observation.
382
+
383
+ dataelement_name 80 Text Data element name of the observation.
384
+ Ex: Employment
385
+
386
+ end_period 3 M01-M13 Identifies last data observation
387
+ Q01-Q04 within the last year for which
388
+ Ex: M06=June data are available for a given
389
+ (M=Monthly, M13=Annual time series.
390
+ Avg, Q=Quarterly, Q05=
391
+ Annual Avg)
392
+
393
+ end_year 4 YYYY Identifies last year for which
394
+ Ex: 2020 data are available for a given
395
+ time series.
396
+
397
+ footnote_codes 10 It varies Identifies footnotes for the data
398
+ series.
399
+
400
+ industry_code 6 000000 Code identifying industry.
401
+
402
+ industry_name 100 Text Name of industry.
403
+ Ex: Grocery Stores
404
+
405
+ msa_code 5 00000 Code identifying the msa's for the data
406
+ observation.
407
+
408
+ msa_name 100 Text MSA name of the observation.
409
+ Ex. National
410
+
411
+ ownership_code 1 5 Code identifying ownership of the data
412
+ observation.
413
+
414
+ ownership_name 30 Text Ownership name of the observation.
415
+ Ex.Private Sector
416
+
417
+ period 3 M01-M13 Identifies period for which
418
+ Q01-Q04 data is observed.
419
+ Ex: M06=June
420
+ (M=Monthly, M13=Annual
421
+ Avg, Q=Quarterly, Q05=
422
+ Annual Avg)
423
+
424
+ periodicity_code 1 Q Code identifying the periodicity of the
425
+ data observation.
426
+
427
+ periodicity_name 30 Text Periodicity name of the observation.
428
+ Ex. Quarterly
429
+
430
+ ratelevel_code 1 Ex: L Code identifying the rate level
431
+ of the observation.
432
+
433
+ ratelevel_name 30 Text Description of rate level.
434
+ Ex: Level
435
+
436
+ seasonal 1 S=Seasonally Code identifying whether the
437
+ Adjusted data are seasonally adjusted.
438
+ U=Unadjusted
439
+
440
+ series_id 30 BDS0000006000200090110004LQ5 Code identifying the specific
441
+ series.
442
+
443
+ sizeclass_code 2 01, 13 Code identifying size class of the data
444
+ observation (00 is for industry and/or state data, 01 to 09 is for firm size class, >=10 is for establishment level by size of employment change).
445
+
446
+ sizeclass_name 100 Text Description of size class.
447
+ Ex. 1 to 4 employees, 4 jobs (indicating an establishment either gained or lost 4 jobs from the prior quarter)
448
+
449
+ state_code 2 00 Code identifying the state that the
450
+ observation belongs to.
451
+
452
+ state_name 30 Text State name of the observation.
453
+ Ex. National
454
+
455
+ unitanalysis_code 1 1 Code idenifying the unit analysis of the data
456
+ observation.
457
+
458
+ unitanalysis_name 30 Text Unit analysis name of the observation.
459
+ Ex. Establishment
460
+
461
+ value 12 103623 Data value for series.
462
+
463
+ year 4 YYYY Identifies year of observation.
464
+ Ex: 2003
465
+
bls/bd/bd_contacts.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b96dec298f764bf3eb0e4bc2a3318b556b55d88a94ab036581aa41be47d2078
3
+ size 1847
bls/bd/bd_county.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d2d2ed3da1e0f5be53ba9b2f8ca692cca2f6a3f5db6826bca8852970e156cfd
3
+ size 1746
bls/bd/bd_data_0_Current.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9b887b707897eaba7d10b19910507ab24d4fea8bc46598f5c52f7b094969439
3
+ size 7543149
bls/bd/bd_data_1_AllItems.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e267f17234ae2bd82d071952d86acec85718de766af7dd3b2bf8c3c32d032d3
3
+ size 9771428
bls/bd/bd_dataclass.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a50fc8efafc1437ec6fc14b7e8539c7a9fc738e18416cd1e5af439d28093ad6
3
+ size 3541
bls/bd/bd_dataelement.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0354e409904f6fbb317fb5b6c074679e77ac8ca47b126ef7be68e011a7e0aa47
3
+ size 1891
bls/bd/bd_footnote.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a2397cf3c2ff3b159f1d93d9af7a3948d86e5b5760cf916bcde925cf2e35aed
3
+ size 2068
bls/bd/bd_industry.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3469c7fc78b8bfdeb3db5efa1d4d445dfd727b61347617dae2d1275a10b6a744
3
+ size 5504
bls/bd/bd_msa.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1deb070e5f9f7b5022f74a91b544add170d965ab9eb8fec331157fa1d32b35c8
3
+ size 1713
bls/bd/bd_ownership.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0a99962c701ba68a8081eccb15b4c607f80dbcc0c81538b4b0c8b301fc18741
3
+ size 1814
bls/bd/bd_periodicity.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:715d590930ef95124126c4d3b960534a54e241ef1c6f2365b25e21b70eea4d12
3
+ size 1834
bls/bd/bd_ratelevel.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:539c6649bd794d9df0ca1d2b714f11fd313f71f1ac28135d68789e83216c5fc9
3
+ size 1780
bls/bd/bd_seasonal.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63001b9f29f20f2b4235c2c3b5bff91715ed1096a0fc58cd1edf9c99436be0cc
3
+ size 1861
bls/bd/bd_series.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54054dc4a5dbdff3abeebf71190f81b477b66bf3588b6682720f294f478297ce
3
+ size 121658
bls/bd/bd_sizeclass.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cdf64d238313aa4b66d5d65dea124ab816e10dda2a51a0197039e05e51823cb
3
+ size 2150
bls/bd/bd_state.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e85bebf87111a3a51c9f530c423f86ded651516dad76b136e6dc7412c3626e9e
3
+ size 2344
bls/bd/bd_unitanalysis.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c144923266b655a9afaea55a5f41b9c2eaba9215f5e16fb6b3e91663e8819013
3
+ size 1865
bls/bg/README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BLS survey `bg`
2
+
3
+ Source: U.S. Bureau of Labor Statistics, LABSTAT time-series database (https://download.bls.gov/pub/time.series/bg/). Public domain U.S. government data. Credit: U.S. Bureau of Labor Statistics.
4
+
5
+ Survey documentation: `bg.txt`.
6
+
7
+ `*_series.parquet` defines each series_id (labels); `*_data_*.parquet` holds series_id, year, period (M01-M12 monthly, Q0x quarterly, A01/M13 annual), value, footnote_codes; other files map codes to labels.
8
+
9
+ | file | rows | columns |
10
+ |---|---|---|
11
+ | bg.alteration | 5 | BG Alteration |
12
+ | bg.contacts | -1 | |
13
+ | bg.data.1.AllData | 784 | series_id, year, period, value, cont_break, status, footnote_exists |
14
+ | bg.duration | 1 | All contracts in effect |
15
+ | bg.measure | 23 | BG Measure |
16
+ | bg.period | 5 | period, period_abbr, period_name |
17
+ | bg.sector | 5 | BG Sector |
18
+ | bg.selection | 1 | All contracts in effect in selected period |
19
+ | bg.series | 25 | series_id, measure_code, unit_code, alteration_code, sector_code, contract_duration, contract_selection, seasonal, begin_year, begin_period, end_year, end_period |
20
+ | bg.unit | 4 | BG Unit |
bls/bg/bg.contacts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Collective Bargaining Agreements Contacts
2
+
3
+
4
+ Collective Bargaining Agreements File:
5
+
6
+ Michael Cimini (202) 691-6275 Cimini_M@bls.gov
7
+ John Steinmeyer (202) 691-6284 Steinmeyer_J@bls.gov
8
+ Fehmida Sleemi (202) 691-6282 Sleemi_F@bls.gov
9
+ Edward Wasilewski (202) 691-6288 Wasilewski_E@bls.gov
10
+
11
+ Work Stoppages:
12
+
13
+ Fehmida Sleemi (202) 691-6282 Sleemi_F@bls.gov
14
+ Michael Cimini (202) 691-6275 Cimini_M@bls.gov
15
+
16
+
17
+ To Subscribe to or Purchase Copies of Compensation and Working Conditions:
18
+
19
+ Send requests to:
20
+ Superintendent of Documents, Government Printing Office,Washington, DC 20402-0001
21
+ Telephone: 202-512-2303
22
+
23
+ ******************************************************************************
24
+
bls/bg/bg.txt ADDED
@@ -0,0 +1,393 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Collective Bargaining Series - State and Local Government (BG)
2
+ bg.txt
3
+
4
+
5
+ Section Listing
6
+
7
+ 1. Survey Definition
8
+ 2. FTP files listed in the survey directory.
9
+ 3. Time series, series file, data file, & mapping file definitions and relationships
10
+ 4. Series file format and field definitions
11
+ 5. Data file format and field definitions
12
+ 6. Mapping file formats and field definitions
13
+ 7. Data Element Dictionary
14
+ ================================================================================
15
+ Section 1
16
+ ================================================================================
17
+
18
+ The following is a definition of: COLLECTIVE BARGAINING SERIES -
19
+ STATE AND LOCAL GOVERNMENT (BG)
20
+
21
+ Survey Description: This series summarizes wage-rate changes in major
22
+ collective bargaining units (those with 1,000 workers or more) in State and
23
+ local governments where: (1) A labor organization is recognized as the
24
+ bargaining agent for a group of workers; (2) the settlements are embodied
25
+ in signed, mutually binding contracts; and (3) wages are determined by
26
+ collective bargaining. Wage-rate change data are measured for units of
27
+ 1,000 workers or more; compensation measures are compiled for settlements
28
+ of 5,000 workers or more.
29
+
30
+ Summary Data Available:
31
+
32
+ Wage Rate Changes: Two types of information are presented. "Settlement"
33
+ data measure the net impact of increases, decreases, and no change in wage
34
+ rates as a result of new settlements reached during the reference period.
35
+ Changes scheduled during the first 12 months after the contract effective
36
+ date (first-year) and all changes over the contract term expressed as an
37
+ annual rate (over the life) are presented. Data on "wage rate changes under
38
+ all major agreements" include increases, decreases, and no change in the
39
+ reference period stemming from settlements in that period, from earlier
40
+ settlements with changes deferred to the period, and from COLA adjustments.
41
+
42
+ Compensation Changes: These data measure changes (increases, decreases, and
43
+ no change) in employee compensation (wages and benefits) resulting from
44
+ settlements negotiated in the reference period covering 5,000 workers or
45
+ more. Both changes occurring within 12 months of the contract effective
46
+ date (first year) and all changes that will occur over the contract term
47
+ expressed as an annual rate (over the life) are presented. "Compensation
48
+ changes" measure changes in the costs for employee compensation including
49
+ specified lump-sum payments and reflects both the size and timing of
50
+ compensation rate changes.
51
+
52
+ Frequency of Observations: Data are presented semiannually and by calendar
53
+ year.
54
+
55
+ Data Characteristics: All percent changes are stored with one decimal
56
+ place. All employment measures are in millions.
57
+
58
+ Updating Schedule: Updates are available in February and August.
59
+
60
+ References: BLS Handbook of Methods, Chapter 7, "Negotiated Wage and
61
+ Benefit Changes", Bulletin 2285 (1988).
62
+ ==================================================================================
63
+ Section 2
64
+ ==================================================================================
65
+ The following Collective Bargaining Series (State and Local Government) files are
66
+ on the BLS internet in the sub-directory pub/time.series/bg:
67
+
68
+
69
+ bg.alteration - Alteration codes mapping file
70
+ bg.contacts - Contacts for bg survey
71
+ bg.data.1.AllData - All data
72
+ bg.duration - Duration codes mapping file
73
+ bg.measure - Measure codes mapping file
74
+ bg.period - Period codes mapping file
75
+ bg.sector - Sector codes mapping file
76
+ bg.selection - Selection codes mapping file
77
+ bg.series - All series and their beginning and end dates
78
+ bg.txt - General information
79
+ bg.unit - Unit codes mapping file
80
+
81
+ =================================================================================
82
+ Section 3
83
+ =================================================================================
84
+ The definition of a time series, its relationship to and the interrelationship
85
+ among series, data and mapping files is detailed below:
86
+
87
+ A time series refers to a set of data observed over an extended period of time
88
+ over consistent time intervals (i.e. monthly, quarterly, semi-annually, annually).
89
+ BLS time series data are typically produced at monthly intervals and represent data
90
+ ranging from a specific consumer item in a specific geographical area whose price
91
+ is gathered monthly to a category of worker in a specific industry whose employment
92
+ rate is being recorded monthly, etc.
93
+
94
+ The FTP files are organized such that data users are provided with the following
95
+ set of files to use in their efforts to interpret data files:
96
+
97
+ a) a series file (only one series file per survey)
98
+ b) mapping files
99
+ c) data files
100
+
101
+ The series file contains a set of codes which, together, compose a series
102
+ identification code that serves to uniquely identify a single time series.
103
+ Additionally, the series file also contains the following series-level information:
104
+
105
+ a) the period and year corresponding to the first data observation
106
+ b) the period and year corresponding to the most recent data observation.
107
+
108
+ The mapping files are definition files that contain explanatory text descriptions
109
+ that correspond to each of the various codes contained within each series
110
+ identification code.
111
+
112
+ The data file contains one line of data for each observation period pertaining to a
113
+ specific time series. Each line contains a reference to the following:
114
+
115
+ a) a series identification code
116
+ b) year in which data is observed
117
+ c) period for which data is observed (M13, Q05, and S03 indicate annual averages)
118
+ d) value
119
+ e) footnote code (if available)
120
+ =================================================================================
121
+ Section 4
122
+ =================================================================================
123
+ File Structure and Format: The following represents the file format used to define
124
+ bg.series. Note that the Field Numbers are for reference only; they do not exist
125
+ in the database. Data files are in ASCII text format. Data elements are separated
126
+ by tabs; the first record of each file contains the column headers for the data
127
+ elements stored in each field. Each record ends with a new line character.
128
+
129
+ Field #/Data Element Length Value(Example)
130
+
131
+ 1. series_id 13 BGU01111001
132
+
133
+ 2. measure_code 2 00
134
+
135
+ 3. unit_code 1 1
136
+
137
+ 4. alteration_code 1 1
138
+
139
+ 5. sector_code 1 1
140
+
141
+ 6. contract_duration 1 0
142
+
143
+ 7. contract_selection 2 00
144
+
145
+ 8. seasonal 1 U
146
+
147
+ 9. begin_year 4 1984
148
+
149
+ 10. begin_period 3 Q02
150
+
151
+ 11. end_year 4 1995
152
+
153
+ 12. end_period 3 Q02
154
+
155
+
156
+
157
+ The series_id (BGU01111001) can be broken out into:
158
+
159
+ Code Value(Example)
160
+
161
+ survey abbreviation = BG
162
+ seasonal (code) = U
163
+ measure_code = 01
164
+ unit_code = 1
165
+ alteration_code = 1
166
+ sector_code = 1
167
+ contract_duration = 0
168
+ contract_selection = 01
169
+ ==================================================================================
170
+ Section 5
171
+ ==================================================================================
172
+ File Structure and Format: The following represents the file format used to define
173
+ each data file. Note that the field numbers are for reference only; they do not
174
+ exist in the database. Data files are in ASCII text format. Data elements are
175
+ separated by tabs; the first record of each file contains the column headers for
176
+ the data elements stored in each field. Each record ends with a new line character.
177
+
178
+
179
+ File Name: bg.data.1.AllData
180
+
181
+ The above-named data file has the following format:
182
+
183
+ Field #/Data Element Length Value(Example)
184
+
185
+ 1. series_id 13 BGU01111001
186
+
187
+ 2. year 4 1984
188
+
189
+ 3. period 3 Q01
190
+
191
+ 4. value 12 3.9
192
+
193
+ 5. cont_break 1 N
194
+
195
+ 6. status 1 F
196
+
197
+ 7. footnote_exists 1 N
198
+
199
+
200
+ The series_id (BGU01111001) can be broken out into:
201
+
202
+ Code Value(Example)
203
+
204
+ survey abbreviation = BG
205
+ seasonal (code) = U
206
+ measure_code = 01
207
+ unit_code = 1
208
+ alteration_code = 1
209
+ sector_code = 1
210
+ contract_duration = 0
211
+ contract_selection = 01
212
+ ================================================================================
213
+ Section 6
214
+ ================================================================================
215
+ File Structure and Format: The following represents the file format used to define
216
+ each mapping file. Note that the field numbers are for reference only; they do not
217
+ exist in the database. Mapping files are in ASCII text format. Data elements are
218
+ separated by tabs; the first record of each file contains the column headers for the
219
+ data elements stored in each field. Each record ends with a new line character.
220
+
221
+
222
+ File Name: bg.alteration
223
+
224
+ Field #/Data Element Length Value(Example)
225
+
226
+ 1. alteration_code 1 1
227
+
228
+ 2. alteration_text 50 Text
229
+
230
+
231
+ File Name: bg.duration
232
+
233
+ Field #/Data Element Length Value(Example)
234
+
235
+ 1. contract_duration 1 0
236
+
237
+ 2. contract_duration_text 50 Text
238
+
239
+
240
+ File Name: bg.measure
241
+
242
+ Field #/Data Element Length Value(Example)
243
+
244
+ 1. measure_code 2 01
245
+
246
+ 2. measure_text 90 Text
247
+
248
+
249
+ File Name: bg.period
250
+
251
+ Field #/Data Element Length Value(Example)
252
+
253
+ 1. period 3 Q01
254
+
255
+ 2. period_abbr 5 QTR2
256
+
257
+ 3. period_name 20 Text
258
+
259
+
260
+ File Name: bg.sector
261
+
262
+ Field #/Data Element Length Value(Example)
263
+
264
+ 1. sector_code 1 1
265
+
266
+ 2. sector_name 40 Text
267
+
268
+
269
+ File Name: bg.selection
270
+
271
+ Field #/Data Element Length Value(Example)
272
+
273
+ 1. contract_selection 2 01
274
+
275
+ 2. contract_selection_text 80 Text
276
+
277
+
278
+ File Name: bg.unit
279
+
280
+ Field #/Data Element Length Value(Example)
281
+
282
+ 1. unit_code 1 1
283
+
284
+ 2. unit_text 20 Text
285
+
286
+ =========================================================================================
287
+ Section 7
288
+ =========================================================================================
289
+ COLLECTIVE BARGAINING SERIES - STATE AND LOCAL GOVERNMENT (BG)
290
+ DATABASE ELEMENTS
291
+
292
+
293
+ Data Element Length Value(Example) Description
294
+
295
+ alteration_code 1 1 Code identifying the type of
296
+ change measured by the observation.
297
+
298
+ alteration_text 50 Text Description of type of change
299
+ Ex: Changes (net measured by the observation.
300
+ increases, and no
301
+ change)
302
+
303
+ begin_period 3 Q03 Identifies first data observation
304
+ Ex: Q03=3rd Quarter within the first year for which
305
+ (Q=Quarterly, Q05= data is available for a given
306
+ Annual Average) time series.
307
+
308
+ begin_year 4 1975 Identifies first year for which
309
+ data is available for a given
310
+ time series.
311
+
312
+ cont_break 1 Y=Continuity break Identifies point at which data
313
+ N=No break within a series are no longer
314
+ comparable.
315
+
316
+ contract_ 1 0 Code identifying the length
317
+ duration of the contract.
318
+
319
+ contract_ 50 Text Description of the length of
320
+ duration_text Ex: All contracts contract.
321
+
322
+ contract_ 2 01 Code identifying the contracts
323
+ selection negotiated in the period.
324
+
325
+ contract_ 80 Text Description of contracts
326
+ selection_text Ex: All contracts negotiated in the period.
327
+ negotiated in periods
328
+
329
+ end_period 3 Q05 Identifies last data observation
330
+ Ex: Q05=Annual Average within the last year for which
331
+ (Q=Quarterly, Q05= data is available for a given
332
+ Annual Average) time series.
333
+
334
+ end_year 4 1980 Identifies last year for which
335
+ data is available for a given
336
+ time series.
337
+
338
+ footnote_exists 1 N=No footnote Identifies whether a footnote
339
+ Y=Footnote exists for the data series.
340
+ (To see footnote, refer to
341
+ publication.)
342
+
343
+ measure_code 2 01 The measure identifier.
344
+
345
+ measure_text 90 Text Name of element being
346
+ Ex: Settlements, 1st measured by the observation.
347
+ compensation.
348
+
349
+ period_abbr 5 QTR2 Abbreviation of period name.
350
+
351
+ period 3 Q01 Identifies period for which
352
+ Ex: Q01=1st Quarter data is observed.
353
+ (Q=Quarterly, Q05=
354
+ Annual Average)
355
+
356
+ period_name 20 Text Full name of period to which
357
+ Ex: First half the data observation refers.
358
+
359
+ seasonal 1 S=Seasonally Code identifying whether the
360
+ Adjusted data are seasonally adjusted.
361
+ U=Unadjusted
362
+
363
+ sector_code 1 1 Code identifying the sector
364
+ of the economy.
365
+
366
+ sector_name 40 Text Name of economic sector to
367
+ Ex: State and local which data refer.
368
+ government
369
+
370
+ series_id 13 BGU01111001 Code identifying the specific
371
+ series.
372
+
373
+ status 1 F=Final data Code identifying whether data
374
+ P=Premliminary data are preliminary or final.
375
+
376
+ unit_code 1 1 Code identifying the unit
377
+ of measurement.
378
+
379
+ unit_text 20 Text Name of unit of measurement
380
+ Ex: Mean (in percents) for observation.
381
+
382
+ value 12 Data value Observation for the series.
383
+
384
+ year 4 1990 Identifies year of observation.
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
bls/bg/bg_alteration.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec0f435daf79fdc35c962a49068efebd89549d8653844e905640827ccb4c2b9d
3
+ size 1501
bls/bg/bg_data_1_AllData.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:babfb5f01ade1a3a89d9ead44fad5dd611f2b851566e29af67bb0ea49c6470d9
3
+ size 5495
bls/bg/bg_duration.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:542565beec89a0dd7027490674ba2ae681e2d3a4c2bbba153e193c1d689bc044
3
+ size 1420
bls/bg/bg_measure.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:540eb7e2d8f874a2e30c518f2415c14c565c2cf15aebac32d3d03b271808459b
3
+ size 1695
bls/bg/bg_period.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b21d9f1c44c762bde83e863e1d5e2b7ce306719cc8963be315fdc3fb0b8ca55
3
+ size 2358
bls/bg/bg_sector.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c313c0e4374323e88778390e6a3cb41e9a026a0e39bac4e3beb099e84f25a01
3
+ size 1394
bls/bg/bg_selection.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f1e9eef620e8fbac9002e86a85dc7c11c05ec926e278e16728b734aaf13268c
3
+ size 1706
bls/bg/bg_series.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:032c2d4c5f7077d3fe0aa85e7a3d7447820ea8041d99fb4756c84e8a5065647c
3
+ size 7391
bls/bg/bg_unit.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdef18b6d1c1d167bea10dfc66e68f527aef74956b1619520d410674d53e02f6
3
+ size 1315
bls/bp/README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BLS survey `bp`
2
+
3
+ Source: U.S. Bureau of Labor Statistics, LABSTAT time-series database (https://download.bls.gov/pub/time.series/bp/). Public domain U.S. government data. Credit: U.S. Bureau of Labor Statistics.
4
+
5
+ Survey documentation: `bp.txt`.
6
+
7
+ `*_series.parquet` defines each series_id (labels); `*_data_*.parquet` holds series_id, year, period (M01-M12 monthly, Q0x quarterly, A01/M13 annual), value, footnote_codes; other files map codes to labels.
8
+
9
+ | file | rows | columns |
10
+ |---|---|---|
11
+ | bp.alteration | 6 | BP Alteration |
12
+ | bp.contacts | -1 | |
13
+ | bp.data.1.AllData | 4631 | series_id, year, period, value, cont_break, status, footnote_exists |
14
+ | bp.duration | 1 | All contracts in effect |
15
+ | bp.industry | 9 | BP Industry |
16
+ | bp.measure | 55 | BP Measure |
17
+ | bp.period | 5 | period, period_abbr, period_name |
18
+ | bp.periodicity | 2 | periodicity_code, periodicity_text |
19
+ | bp.selection | 1 | All contracts in effect in selected period |
20
+ | bp.series | 95 | series_id, measure_code, unit_code, periodicity_code, alteration_code, industry_code, contract_duration, contract_selection, seasonal, begin_year, begin_period, end_year, end_period |
21
+ | bp.unit | 4 | BP Unit |
bls/bp/bp.contacts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Collective Bargaining Agreements Contacts
2
+
3
+
4
+ Collective Bargaining Agreements File:
5
+
6
+ Michael Cimini (202) 691-6275 Cimini_M@bls.gov
7
+ John Steinmeyer (202) 691-6284 Steinmeyer_J@bls.gov
8
+ Fehmida Sleemi (202) 691-6282 Sleemi_F@bls.gov
9
+ Edward Wasilewski (202) 691-6288 Wasilewski_E@bls.gov
10
+
11
+ Work Stoppages:
12
+
13
+ Fehmida Sleemi (202) 691-6282 Sleemi_F@bls.gov
14
+ Michael Cimini (202) 691-6275 Cimini_M@bls.gov
15
+
16
+
17
+ To Subscribe to or Purchase Copies of Compensation and Working Conditions:
18
+
19
+ Send requests to:
20
+ Superintendent of Documents, Government Printing Office,Washington, DC 20402-0001
21
+ Telephone: 202-512-2303
22
+
23
+ ******************************************************************************
24
+
bls/bp/bp.txt ADDED
@@ -0,0 +1,406 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Collective Bargaining Series - Private Sector (BP)
2
+ bp.txt
3
+
4
+
5
+ Section Listing
6
+
7
+ 1. Survey Definition
8
+ 2. FTP files listed in the survey directory.
9
+ 3. Time series, series file, data file, & mapping file definitions and relationships
10
+ 4. Series file format and field definitions
11
+ 5. Data file format and field definitions
12
+ 6. Mapping file formats and field definitions
13
+ 7. Data Element Dictionary
14
+ ================================================================================
15
+ Section 1
16
+ ================================================================================
17
+
18
+ The following is a definition of: COLLECTIVE BARGAINING SERIES - PRIVATE SECTOR (BP)
19
+
20
+ Survey Description: This series summarizes wage-rate changes in major
21
+ collective bargaining agreements (covering 1,000 workers or more) for
22
+ production and related workers in manufacturing and nonsupervisory workers
23
+ in nonmanufacturing. Compensation (wages and benefits) changes are measured
24
+ for agreements covering 5,000 workers or more.
25
+
26
+ Summary Data Available:
27
+
28
+ Wage-Rate Changes: "Settlements" data measure specified net increases,
29
+ decreases, and zero change in wage rates resulting from settlements
30
+ negotiated in the reference period. Changes occurring within 12 months of
31
+ the contract effective date ("first-year") and all changes that occur over
32
+ the contract term expressed as an annual rate ("over the life") are
33
+ presented. Data on "wage-rate changes under all major agreements" include
34
+ increases, decreases and zero change in wage rates during the reference
35
+ period for all workers in the series, regardless of the contract settlement
36
+ date. Included are changes stemming from settlements reached in the
37
+ calendar year, from agreements reached in a prior year with changes deferred
38
+ to the reference period, and from COLA clauses. Lump-sum payments are
39
+ excluded from "settlements" data and from "wage-rate changes under all major
40
+ agreements".
41
+
42
+ Compensation Changes: These data reflect changes (net increases, decreases,
43
+ and zero change) in employee compensation (wages and benefits) resulting
44
+ from settlements covering 5,000 workers or more which were negotiated in the
45
+ reference period. The "compensation rate" change measures net increases,
46
+ decreases, and zero change in compensation rates per work hour resulting
47
+ from contract settlements. Lump-sum payments are excluded. Changes
48
+ occurring within 12 months of the contract effective date ("first year") and
49
+ all changes that occur over the contract term expressed as an annual rate
50
+ ("over the life") are presented. The "compensation cost" change measures
51
+ net increases, decreases, and zero change in the costs for employee
52
+ compensation per work hour, including specified lump-sum payments, and
53
+ reflects the timing of compensation rate changes. Changes that occur over
54
+ the contract term are expressed as an annual rate ("over the life").
55
+
56
+ Frequency of Observations: Data are presented by quarter, calendar year and
57
+ for 4-quarter periods that may extend into each of 2 calendar years.
58
+
59
+ Data Characteristics: All percent changes are stored with one decimal
60
+ place. All employment measures are in millions.
61
+
62
+ Updating Schedule: Updates are available about 4 weeks after the end of
63
+ each calendar quarter.
64
+
65
+ References: BLS Handbook of Methods, Chapter 7, "Negotiated Wage and
66
+ Benefit Changes", Bulletin 2285 (1988).
67
+ ==================================================================================
68
+ Section 2
69
+ ==================================================================================
70
+ The following Collective Bargaining Series (Private Sector) files are on the BLS
71
+ internet in the sub-directory pub/time.series/bp:
72
+
73
+
74
+ bp.alteration - Alteration codes mapping file
75
+ bp.contacts - Contacts for bp survey
76
+ bp.data.1.AllData - All Data
77
+ bp.duration - Duration codes mapping file
78
+ bp.industry - Industry codes mapping file
79
+ bp.measure - Measure codes mapping file
80
+ bp.period - Period codes mapping file
81
+ bp.periodicity - Periodicity codes mapping file
82
+ bp.selection - Selection codes mapping file
83
+ bp.series - All series and their beginning and end dates
84
+ bp.txt - General information
85
+ bp.unit - Unit codes mapping file
86
+ =================================================================================
87
+ Section 3
88
+ =================================================================================
89
+ The definition of a time series, its relationship to and the interrelationship
90
+ among series, data and mapping files is detailed below:
91
+
92
+ A time series refers to a set of data observed over an extended period of time
93
+ over consistent time intervals (i.e. monthly, quarterly, semi-annually, annually).
94
+ BLS time series data are typically produced at monthly intervals and represent data
95
+ ranging from a specific consumer item in a specific geographical area whose price
96
+ is gathered monthly to a category of worker in a specific industry whose employment
97
+ rate is being recorded monthly, etc.
98
+
99
+ The FTP files are organized such that data users are provided with the following
100
+ set of files to use in their efforts to interpret data files:
101
+
102
+ a) a series file (only one series file per survey)
103
+ b) mapping files
104
+ c) data files
105
+
106
+ The series file contains a set of codes which, together, compose a series
107
+ identification code that serves to uniquely identify a single time series.
108
+ Additionally, the series file also contains the following series-level information:
109
+
110
+ a) the period and year corresponding to the first data observation
111
+ b) the period and year corresponding to the most recent data observation.
112
+
113
+ The mapping files are definition files that contain explanatory text descriptions
114
+ that correspond to each of the various codes contained within each series
115
+ identification code.
116
+
117
+ The data file contains one line of data for each observation period pertaining to a
118
+ specific time series. Each line contains a reference to the following:
119
+
120
+ a) a series identification code
121
+ b) year in which data is observed
122
+ c) period for which data is observed (M13, Q05, and S03 indicate annual averages)
123
+ d) value
124
+ e) footnote code (if available)
125
+ =================================================================================
126
+ Section 4
127
+ =================================================================================
128
+ File Structure and Format: The following represents the file format used to define
129
+ bp.series. Note that the Field Numbers are for reference only; they do not exist
130
+ in the database. Data files are in ASCII text format. Data elements are separated
131
+ by tabs; the first record of each file contains the column headers for the data
132
+ elements stored in each field. Each record ends with a new line character.
133
+
134
+ Field #/Data Element Length Value(Example)
135
+
136
+ 1. series_id 13 BPU0114101001
137
+
138
+ 2. measure_code 2 01
139
+
140
+ 3. unit_code 1 1
141
+
142
+ 4. periodicity_code 1 1
143
+
144
+ 5. alteration_code 1 1
145
+
146
+ 6. industry_code 2 01
147
+
148
+ 7. contract_duration 1 0
149
+
150
+ 8. contract_selection 2 01
151
+
152
+ 9. seasonal 1 U
153
+
154
+ 10. begin_year 4 1983
155
+
156
+ 11. begin_period 3 Q01
157
+
158
+ 12. end_year 4 1995
159
+
160
+ 13. end_period 3 Q04
161
+
162
+
163
+ The series_id (BPU0114101001) can be broken out into:
164
+
165
+ Code Value(Example)
166
+
167
+ survey abbreviation = BP
168
+ seasonal (code) = U
169
+ measure_code = 01
170
+ unit_code = 1
171
+ periodicity_code = 4
172
+ alteration_code = 1
173
+ industry_code = 01
174
+ contract_duration = 0
175
+ contract_selection = 01
176
+ ==================================================================================
177
+ Section 5
178
+ ==================================================================================
179
+ File Structure and Format: The following represents the file format used to define
180
+ each data file. Note that the field numbers are for reference only; they do not
181
+ exist in the database. Data files are in ASCII text format. Data elements are
182
+ separated by tabs; the first record of each file contains the column headers for
183
+ the data elements stored in each field. Each record ends with a new line character.
184
+
185
+ File Name: bp.data.1.AllData
186
+
187
+ The above-named data file has the following format:
188
+
189
+ Field #/Data Element Length Value(Example)
190
+
191
+ 1. series_id 13 BPU0114101001
192
+
193
+ 2. year 4 1995
194
+
195
+ 3. period 3 Q01
196
+
197
+ 4. value 12 2.3
198
+
199
+ 5. cont_break 1 N
200
+
201
+ 6. status 1 F
202
+
203
+ 7. footnote_exists 1 N
204
+
205
+
206
+ The series_id (BPU0114101001) can be broken out into:
207
+
208
+ Code Value(Example)
209
+
210
+ survey abbreviation = BP
211
+ seasonal (code) = U
212
+ measure_code = 01
213
+ unit_code = 1
214
+ periodicity_code = 4
215
+ alteration_code = 1
216
+ industry_code = 01
217
+ contract_duration = 0
218
+ contract_selection = 01
219
+ ================================================================================
220
+ Section 6
221
+ ================================================================================
222
+ File Structure and Format: The following represents the file format used to define
223
+ each mapping file. Note that the field numbers are for reference only; they do not
224
+ exist in the database. Mapping files are in ASCII text format. Data elements are
225
+ separated by tabs; the first record of each file contains the column headers for the
226
+ data elements stored in each field. Each record ends with a new line character.
227
+
228
+
229
+ File Name: bp.alteration
230
+
231
+ Field #/Data Element Length Value(Example)
232
+
233
+ 1. alteration_code 1 1
234
+
235
+ 2. alteration_text 50 Text
236
+
237
+
238
+ File Name: bp.duration
239
+
240
+ Field #/Data Element Length Value(Example)
241
+
242
+ 1. contract_duration 1 0
243
+
244
+ 2. contract_duration_text 50 Text
245
+
246
+
247
+ File Name: bp.industry
248
+
249
+ Field #/Data Element Length Value(Example)
250
+
251
+ 1. industry_code 2 01
252
+
253
+ 2. industry_name 40 Text
254
+
255
+
256
+ File Name: bp.measure
257
+
258
+ Field #/Data Element Length Value(Example)
259
+
260
+ 1. measure_code 2 01
261
+
262
+ 2. measure_text 90 Text
263
+
264
+
265
+ File Name: bp.period
266
+
267
+ Field #/Data Element Length Value(Example)
268
+
269
+ 1. period 3 Q01
270
+
271
+ 2. period_abbr 5 QTR1
272
+
273
+ 3. period_name 20 Text
274
+
275
+
276
+ File Name: bp.periodicity
277
+
278
+ Field #/Data Element Length Value(Example)
279
+
280
+ 1. periodicity_code 1 1
281
+
282
+ 2. periodicity_text 40 Text
283
+
284
+
285
+ File Name: bp.selection
286
+
287
+ Field #/Data Element Length Value(Example)
288
+
289
+ 1. contract_selection 2 01
290
+
291
+ 2. contract_selection_text 80 Text
292
+
293
+
294
+ File Name: bp.unit
295
+
296
+ Field #/Data Element Length Value(Example)
297
+
298
+ 1. unit_code 1 1
299
+
300
+ 2. unit_text 20 Text
301
+ =========================================================================================
302
+ Section 7
303
+ =========================================================================================
304
+ COLLECTIVE BARGAINING SERIES - PRIVATE SECTOR (BP) DATABASE ELEMENTS
305
+
306
+
307
+ Data Element Length Value(Example) Description
308
+
309
+ alteration_code 1 1 Code identifying the type of
310
+ change measured by the observation.
311
+
312
+ alteration_text 50 Text Description of type of change
313
+ Ex: Increases only measured by the observation.
314
+
315
+ begin_period 3 A01 Identifies first data observation
316
+ Ex: A01=Annual data within the first year for which
317
+ (Q=Quarterly, A=Annual) data is available for a given
318
+ time series.
319
+
320
+ begin_year 4 1975 Identifies first year for which
321
+ data is available for a given
322
+ time series.
323
+
324
+ cont_break 1 Y=Continuity break Identifies point at which
325
+ N=No break data within a series are no
326
+ longer comparable.
327
+
328
+ contract_ 1 0 Code identifying the length
329
+ duration of the contract.
330
+
331
+ contract_ 50 Text Description of the length
332
+ duration_text Ex: All contracts of contract.
333
+
334
+ contract_ 2 01 Code identifying the contracts
335
+ selection negotiated in the period.
336
+
337
+ contract_ 80 Text Description of contracts
338
+ selection_text Ex: All contracts negotiated in the period.
339
+ in period.
340
+
341
+ end_period 3 Q04 Identifies last data observation
342
+ Ex: Q04=Fourth quarter within the last year for which
343
+ (Q=Quarterly, A=Annual) data is available for a given
344
+ time series.
345
+
346
+ end_year 4 1980 Identifies last year for which
347
+ data is available for a given
348
+ time series.
349
+
350
+ footnote_exists 1 N=No footnote Identifies whether a footnote
351
+ Y=Footnote exists for the data series.
352
+ (To see footnote, refer to
353
+ publication.)
354
+
355
+ industry_code 2 01 Code identifying the industry.
356
+
357
+ industry_name 40 Text Name of the industry.
358
+ Ex: All industries
359
+
360
+ measure_code 2 01 The measure identifier.
361
+
362
+ measure_text 90 Text Name of element being
363
+ Ex: Settlements, 1st measured by the observation.
364
+ Year Compensation.
365
+
366
+ period_abbr 5 QTR1 Abbreviation of period name.
367
+
368
+ period 3 Q01 Identifies period for which
369
+ Ex: Q01=First Quarter data is observed.
370
+ (Q=Quarterly, A=Annual)
371
+
372
+ period_name 20 Text Full name of period to which
373
+ Ex: 1st Quarter the data observation refers.
374
+
375
+ periodicity_ 1 1 Code identifying the frequency
376
+ code of the observation.
377
+
378
+ periodicity_ 40 Text Frequency of the observation.
379
+ text Ex: Four quarters
380
+ ending
381
+
382
+ seasonal 1 S=Seasonally Code identifying whether the
383
+ Adjusted data are seasonally adjusted.
384
+ U=Unadjusted
385
+
386
+ series_id 13 BPU0114101001 Code identifying the specific
387
+ series.
388
+
389
+ status 1 F=Final data Code identifying whether data
390
+ P=Premliminary data are preliminary or final.
391
+
392
+ unit_code 1 1 Code identifying the unit
393
+ of measurement.
394
+
395
+ unit_text 20 Text Name of unit of measurement
396
+ Ex: Mean (in percent) for observation.
397
+
398
+ value 12 Data value Observation for the series.
399
+
400
+ year 4 1990 Identifies year of observation.
401
+
402
+
403
+
404
+
405
+
406
+
bls/bp/bp_alteration.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e0ff8e476f2f28c86665f4b0e27c8800485aa992a9e9f84a062ba6617254723
3
+ size 1512
bls/bp/bp_data_1_AllData.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79ed20d23dea17daa622eec64d885ca16cac0658cd93c63ea01993ef4ca10aed
3
+ size 9258