Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    UnicodeDecodeError
Message:      'utf-8' codec can't decode byte 0x93 in position 8262: invalid start byte
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1854, in _prepare_split_single
                  for _, table in generator:
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 689, in wrapped
                  for item in generator(*args, **kwargs):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/text/text.py", line 73, in _generate_tables
                  batch = f.read(self.config.chunksize)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 826, in read_with_retries
                  out = read(*args, **kwargs)
                File "/usr/local/lib/python3.9/codecs.py", line 322, in decode
                  (result, consumed) = self._buffer_decode(data, self.errors, final)
              UnicodeDecodeError: 'utf-8' codec can't decode byte 0x93 in position 8262: invalid start byte
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1415, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 991, in stream_convert_to_parquet
                  builder._prepare_split(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1897, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

text
string
Average Price Data (AP)
ap.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: Average Price Data (AP)
Survey Description: Average consumer prices are calculated for household
fuel, motor fuel, and food items from prices collected for the Consumer
Price Index (CPI). Average prices are best used to measure the price level
in a particular month, not to measure price change over time. It is more
appropriate to use CPI index values for the particular item categories to measure
price change.
Prices, except for electricity, are collected monthly by BLS representatives
in the 75 urban areas priced for the CPI. Electricity prices are collected
for the BLS for the same 75 areas on a monthly basis by the Department of
Energy using mail questionnaires. All fuel prices include applicable
Federal, State, and local taxes; prices for natural gas and electricity also
include fuel and purchased gas adjustments.
Summary Data Available: Average consumer prices for household fuel and
motor fuel are available for the U.S. city average, 23 urban areas, 4
regions, 12 region/size class groupings, and 9 divisions.
Average consumer prices for food are available for the U.S. city average, and
four regions.
Monthly data are available for up to 6 household fuel categories, 6
motor fuel categories, and around 100 food categories.
Frequency of Observations: All data are monthly; annual averages are not
available.
Data Characteristics: Average prices are stored to three decimal places.
Updating Schedule: Updates become available with the monthly release of new data, typically from the 10th to the 14th of the month
following the reference month.
====================================================================================
Section 2
====================================================================================
The following Average Price Data files are on the BLS internet in the sub-directory
pub/time.series/ap:
ap.data.0.Current - All current year-to-date data
ap.data.1.HouseholdFuels - All household fuels data
ap.data.2.Gasoline - All gasoline data
ap.data.3.Food - All food data
ap.area - Area codes mapping file
ap.contacts - Contacts for ap survey
ap.footnote - Footnote codes mapping file
ap.item - Item codes mapping file
ap.period - Period codes mapping file
ap.series - All series and their beginning and end Dates
ap.txt - General information
=================================================================================
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 FTP 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
End of preview.

No dataset card yet

Downloads last month
27