Dataset

turvey-dataset Data Contract Specification v1.1.0
seasonal-dataset

Info

Information about the dataset

Title
Modified Turvey Dataset
Version
3.0
Description
Modified version of an original dataset created by Ralph Turvey in 1979. Turvey (1979) shared an artificial dataset for 5 seasonal commodities over 4 years. The original dataset was modified twice. This is the version most commonly used, as taken from the ILO et al (2004) CPI Manual: Theory and Practice.
Owner
ILO

Terms

Terms and conditions of the dataset

Usage
Open dataset, publicly shared by ILO et al (2004) CPI manual Cite as:
APA:
ILO et al (2004) Turvey Dataset [Data set]. Consumer Price Index manual: theory and practice. https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf

Chicago:
ILO et al "Turvey Dataset". Consumer Price Index manual: theory and practice (2004). https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf

BibTeX:
 @misc{turvey_dataset,
author = {ILO},
title = {Turvey Dataset},
year = {2004},
doi = https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf,
howpublished = {\url{https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf}},
note = {Accessed: YYYY-MM-DD} % Optional: date accessed
}
Limitations
None

Entity Relationship Diagram

Visual representation of data model relationships

                    erDiagram
	"**dataset**" {
	month object
	commodity object
	price float
	quantity integer
}


                  

Data Model

The logical data model

dataset table
The full dataset that includes all 5 commodities and 4 years, containing 176 rows and 4 variables. Dataset omits records where no sales occurred.
month
object
Date, ISO format representing last day of each month
Example: 1970-01-31
commodity
object
The seasonal product, as a factor (Apples, Grapes, Oranges, Peaches, Strawberries)
Example: Apples
price
float
The price of the commodity for the month in question
Example: 1.14
quantity
integer
The quantity sold of the commodity for the month in question
Example: 3086

Examples

Examples for models in the dataset

None csv
An example first 5 rows of the dataset.
month,commodity,price,quantity
1970-01-31,Apples,1.14,3086
1970-01-31,Grapes,2.48,82
1970-01-31,Oranges,1.3,10266
1970-02-28,Apples,1.17,3765
1970-02-28,Grapes,2.75,35 
Created at 01 Oct 2025 02:51:48 UTC with Data Contract CLI v0.10.35
dataContractSpecification: 1.1.0
id: turvey-dataset
info:
  title: Modified Turvey Dataset
  version: '3.0'
  description: ' Modified version of an original dataset created by Ralph Turvey in
    1979. Turvey
    (1979) shared an artificial dataset for 5 seasonal commodities over 4 years.
    The original dataset was modified twice. This is the version most commonly used,
    as taken from the ILO
    et al (2004) CPI Manual: Theory and Practice. '
  owner: ILO
terms:
  usage: ' Open dataset, publicly shared by ILO et al (2004) CPI manual

    Cite as:
APA:
ILO et al (2004) Turvey Dataset [Data set]. Consumer Price Index manual: theory and practice. https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf

Chicago:
ILO et al "Turvey Dataset". Consumer Price Index manual: theory and practice (2004). https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf

BibTeX:
 @misc{turvey_dataset,
author = {ILO},
title = {Turvey Dataset},
year = {2004},
doi = https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf,
howpublished = {\url{https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf}},
note = {Accessed: YYYY-MM-DD} % Optional: date accessed
}
' models: dataset: description: The full dataset that includes all 5 commodities and 4 years, containing 176 rows and 4 variables. Dataset omits records where no sales occurred. type: table fields: month: type: object primary: false description: Date, ISO format representing last day of each month example: '1970-01-31' commodity: type: object primary: false description: The seasonal product, as a factor (Apples, Grapes, Oranges, Peaches, Strawberries) example: Apples price: type: float primary: false description: The price of the commodity for the month in question example: '1.14' quantity: type: integer description: The quantity sold of the commodity for the month in question example: '3086' examples: - type: csv description: An example first 5 rows of the dataset. data: 'month,commodity,price,quantity 1970-01-31,Apples,1.14,3086 1970-01-31,Grapes,2.48,82 1970-01-31,Oranges,1.3,10266 1970-02-28,Apples,1.17,3765 1970-02-28,Grapes,2.75,35 ' links: Dataset-p395: https://www.ilo.org/sites/default/files/wcmsp5/groups/public/@dgreports/@stat/documents/presentation/wcms_331153.pdf tags: - seasonal-dataset