<?xml version='1.0' encoding='UTF-8'?>
<codeBook version="1.2.2" ID="DDI-KEN-APHRC-SUPERMARKET-B-2023-V1.0" xml-lang="en" xmlns="http://www.icpsr.umich.edu/DDI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.icpsr.umich.edu/DDI http://www.icpsr.umich.edu/DDI/Version1-2-2.xsd">
  <docDscr>
    <citation>
      <titlStmt>
        <titl>
          Supermarket Project 2023_B
        </titl>
        <IDNo>
          DDI-KEN-APHRC-SUPERMARKET-B-2023-V1.0
        </IDNo>
      </titlStmt>
      <prodStmt>
        <producer affiliation="APHRC" role="Documentation of the DDI">
          African Population and Health Research Center
        </producer>
        <prodDate date="2025-07-01">
          2025-07-01
        </prodDate>
        <software version="4.0.10" date="2018-05-02">
          Nesstar Publisher
        </software>
      </prodStmt>
      <verStmt>
        <version>
          Version 1.0 (July 2025)
        </version>
      </verStmt>
    </citation>
  </docDscr>
  <stdyDscr>
    <citation>
      <titlStmt>
        <titl>
          Analysis of Supermarket Grocery Data for Prediction of Nutritional and Health Outcomes at the Population Level - Supermarket B
        </titl>
        <altTitl>
          Not Applicable
        </altTitl>
        <IDNo>
          DDI-KEN-APHRC-SUPERMARKET-B-2023-V1.0
        </IDNo>
      </titlStmt>
      <rspStmt>
        <AuthEnty affiliation="African Population and Health Research Centre (APHRC)">
          Agnes Kiragga
        </AuthEnty>
        <othId role="Data Governance Officer" affiliation="African Population and Health Research Center (APHRC)">
          <p>
            Bonface Ingumba
          </p>
        </othId>
        <othId role="Data Documentattion Officer" affiliation="African Population and Health Research Center (APHRC)">
          <p>
            Mambe Shem
          </p>
        </othId>
      </rspStmt>
      <prodStmt>
        <producer affiliation="African Population and Health Research Center (APHRC)" role="Co-Investigator - Study coordination and Co-lead ">
          Steve Cygu
        </producer>
        <producer affiliation="African Population and Health Research Center (APHRC)" role="Co-Investigator - Study coordination and Co-lead ">
          Maureen Ng’etich
        </producer>
        <producer affiliation="African Population and Health Research Center (APHRC)" role="Co-Investigator - Supporting methods of data mapping, analysis, and nutrition policy">
          Lindsey English
        </producer>
        <producer affiliation="African Population and Health Research Center (APHRC)" role="Co-Investigator - Supporting methods of data mapping, analysis and documentation of study ">
          Reinpeter Momanyi
        </producer>
        <producer affiliation="African Population and Health Research Center (APHRC)" role="Co-Investigator - Support methods of data analysis and co-lead in policy analysis">
          Elizabeth Kimani
        </producer>
        <producer affiliation="African Population and Health Research Center (APHRC)" role="Co-Investigator - Support methods of data analysis and co-lead in policy analysis">
          Gershim Asiki
        </producer>
        <copyright>
          Copyright © APHRC, 2025
        </copyright>
        <software version="4.0.10" date="2018-05-02">
          Nesstar Publisher
        </software>
        <fundAg abbr="APHRC" role="Funder">
          African Populattion and Health Research Center
        </fundAg>
      </prodStmt>
      <serStmt>
        <serName>
          Demographic and Health Survey [hh/dhs]
        </serName>
        <serInfo>
          <![CDATA[This was a secondary data collection  of supermarket data in select counties in kenya]]>
        </serInfo>
      </serStmt>
      <verStmt>
        <version date="2025-07-01"/>
        <notes>
          Not Applicable
        </notes>
      </verStmt>
    </citation>
    <stdyInfo>
      <subject>
        <keyword vocab="MeSH" vocabURI="https://www.ncbi.nlm.nih.gov/">
          Supermarkets
        </keyword>
        <keyword vocab="MeSH" vocabURI="https://www.ncbi.nlm.nih.gov/">
          Ultra-Processed Foods
        </keyword>
        <keyword vocab="MeSH" vocabURI="https://www.ncbi.nlm.nih.gov/">
          Processed Foods
        </keyword>
        <keyword vocab="MeSH" vocabURI="https://www.ncbi.nlm.nih.gov/">
          Non-communicable Chronic Diseases
        </keyword>
      </subject>
      <abstract>
        <![CDATA[Rates of overweight, obesity, and chronic diseases such as cardiovascular diseases, hypertension, type 2 diabetes and certain cancers (bowel, lung, prostate and uterine) are on the rise in most sub-saharan Africa (SSA) countries like kenya. These increases can be largely attributed to the shift toward unhealthy diet patterns and increased access to processed foods that are high in fat, sugar, and sodium. The influx of supermarkets in east africa and the replacement of traditional foods for processed foods places this region in a vulnerable position for greater increases in chronic disease rates. Consumer purchasing history from supermarkets can provide valuable insight to food intake over time and the present and future effects on chronic diseases. Purchasing data from supermarkets is available yet underutilized in SSA. 

The study aimed to harmonize and increase accessibility to grocery data, use statistical methods to explore purcharing patterns and predict the effects of nutrition on chronic diseases, and inform policy on the various influences on consumer purchases.]]>
      </abstract>
      <sumDscr>
        <collDate date="2022-05-30" event="start" cycle="Daily"/>
        <collDate date="2023-12-31" event="end" cycle="Daily"/>
        <nation abbr="KEN">
          Kenya
        </nation>
        <geogCover>
          National coverage: Kiambu, Nyeri, Embu, Murang'a and Nairobi Counties
        </geogCover>
        <anlyUnit>
          Individuals and supermarket transaction records.
        </anlyUnit>
        <universe>
          The survey covers transaction records of individuals who made purchases in supermarkets.
        </universe>
      </sumDscr>
      <notes>
        - Transaction Level Data: Food Item Details (Specific products purchased), Quantity, Price, Date of Purchase, Location of Purchase, Customer Demographics (age, gender when collected via loyalty programs), Payment Method( Cash, credit card, digital payment, etc. ), Basket Composition
      </notes>
    </stdyInfo>
    <method>
      <dataColl>
        <sampProc>
          <![CDATA[The study is a cross-sectional exploratory study with a phased approach employing quantitative secondary data collection from a third-party information management solution provider. The third party provider employs an open integrated point of sale and store information retail system that connects retail touch points and sales channels in several counties in Kenya. 

Sampling was conducted after a census of all supermarkets subscribed to the third party system  was done. Only those counties with supermarkets subscribed to the platform were sampled. A sample of large, medium sized and small supermarkets were selected to participate in the study. The supermarket sizes were determined as follows; large supermarkets ( supermarkets with a cumulative total of more than 8 branch networks). Medium size supermarkets will be those with 3-8 branch networks in the counties and smaller supermarkets are those with 1-2 branch networks.


Grocery data was received a supermarket chain with 11 branches.]]>
        </sampProc>
        <deviat>
          Not Applicable
        </deviat>
        <collMode>
          Other [oth]
        </collMode>
        <resInstru>
          <![CDATA[A standardized form was developed to guide in extration of information from 3rd party information provider for supermarket purchase data. Variables of interest includes supermarket name, supermarket branch, location of supermarket, invoice id, customer id, customer demographics (gender, age), date and time of purchase, product name purchased, unit price per item, number of items purchased, payment method used by customer for purchase etc.

Secondary data collected will not be identifiable as it will be anonymized at the supermarket and client level.

The standardized form is provided as external resources data.
V1-V18 the questions are found in the “Study abstraction tool”]]>
        </resInstru>
        <sources/>
        <actMin>
          Not Applicable
        </actMin>
        <weight>
          Not Applicable
        </weight>
        <cleanOps>
          Not Applicable
        </cleanOps>
      </dataColl>
      <notes>
        <![CDATA[The extracted grocery data was in the form of csv files and was saved into a local database using PostgreSQL version 15.2 and imported into R version 4.3.3 for cleaning and pre-processing.

Data preprocessing techniques applied included: Transactions and demographics alignment, dealing with missing values, checking for data consistency, quality assurance checks and filtering non-food items.]]>
      </notes>
      <anlyInfo>
        <respRate>
          Not Applicable
        </respRate>
        <EstSmpErr>
          Not Applicable
        </EstSmpErr>
      </anlyInfo>
    </method>
    <dataAccs>
      <useStmt>
        <contact URI="aphrc.org" email="datarequests@aphrc.org/info@aphrc.org">
          African Population and Health Research Center
        </contact>
        <citReq>
          <![CDATA[Use of the dataset must be acknowledged using a citation which would include:
- the Identification of the Primary Investigator
- the title of the survey (including country, acronym and year of implementation)
- the survey reference number
- the source and date of download]]>
        </citReq>
        <conditions>
          <![CDATA[APHRC data access condition

All non-APHRC staff seeking to use data generated at the Center must obtain written approval to use the data from the Director of Research.
This form is developed to assess applications for data use and facilitate responsible sharing of data with external partners/collaborators/researchers. By entering into this agreement, the undersigned agrees to use these data only for the purpose for which they were obtained and to abide by the conditions outlined below:

1.Data Ownership:
The data remain the property of APHRC; any unauthorized reproduction and sharing of the data is strictly prohibited. The user will, therefore, not release nor permit others to use or release the data to any other person without the written authorization from the Center.

2.Purpose:
The provided data must be used for the purpose specified in the Data Request Form; any other use not specified in the form must receive additional or separate authorization.

3.Respondent Identifiers:
The Center is committed to protecting the identity of the respondents who provide information in its research. All analytical data sets (both qualitative and quantitative) released by the Data Unit MUST are stripped of respondent identifiers to protect the identity of the respondents. By accepting to use APHRC data, the user is pledging that he/she will not, under any circumstance, regenerate the identifiers or permit others to use the data to learn the identity of any individual, household or community included in any data set.

4.Confidentiality pledge:
 The user will not use nor permit others to use the data to report any information in the data sets that could identify, directly or by inference, individuals or households.
 
5.Reporting of errors or inconsistencies:
The user will promptly notify the Head of the Statistics and Survey Unit any errors discovered in the data as soon as the errors are discovered.

6.Publications resulting from APHRC data:
The Center requires external collaborators to work with APHRC staff on all publications resulting from its data. In order to facilitate this, lead authors should send a detailed concept note of the paper (including the background, rationale, data, analytical methods, and preliminary findings) to the Principle Investigator (or Theme Leader) for the project (with a copy to the Director of Research), who will circulate the abstract to concerned researchers for possible expression of interest in participating in the publication as co-authors. Any exception to the involvement of APHRC staff should be approved by the Director of Research, APHRC.

7.Security:
The user will take responsibility for the security of the data by ensuring that the data are used and stored in a secure environment where access is password protected. This will ensure that non-authorized people should not have access to the data.

8.Loss of privilege to use data:
 In the event that APHRC determines that the data user is in violation of the conditions for using the data, or if the user wishes to cancel this agreement, the user will destroy the data files provided to him/her. APHRC retains the right to revoke this agreement or informs publishers to withhold publication of any work based wholly or in part on its data if the conditions for using the data are violated.

9.Acknowledgement:
Any work/reports from this data must acknowledge APHRC as the source of these data. For example, the suggested acknowledgement for NUHDSS data is:
"This research uses livelihoods data collected under the longitudinal Nairobi Urban Health and Demographic Surveillance System (NUHDSS) since 2006. The NUHDSS is carried out by the African Population and Health Research Center in two slums settlements (Korogocho and Viwandani) in Nairobi City."Additionally all funders, the study communities that provided the data, and staff who collected and analyzed or processed the data should be acknowledged.

10.Deposit of Reports/Papers:
The user should submit electronic and paper copies of all publications generated using APHRC data to the Policy Engagement and Communications Department, with copies to the Director of Research.

11.Change of contact details:
The user will promptly inform the Director of Research of any change in your personal details as contained on this data request form.]]>
        </conditions>
        <disclaimer>
          The user of the data acknowledges that the original collector of the data, the authorized distributor of the data, and the relevant funding agency bear no responsibility for use of the data or for interpretations or inferences based upon such uses.
        </disclaimer>
      </useStmt>
    </dataAccs>
  </stdyDscr>
  <fileDscr ID="F2" URI="Supermarket Project 2023_B.Nesstar?Index=0&amp;Name=clean_supermarket_b_sample">
    <fileTxt>
      <fileName>
        clean_supermarket_b_sample.NSDstat
      </fileName>
      <dimensns>
        <caseQnty>
          1071760
        </caseQnty>
        <varQnty>
          18
        </varQnty>
      </dimensns>
      <fileType>
        Nesstar 200801
      </fileType>
    </fileTxt>
  </fileDscr>
  <dataDscr>
    <varGrp ID="VG1" type="subject" var="V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15 V16 V17 V18">
      <labl>
        Study abstraction
      </labl>
    </varGrp>
    <var ID="V1" name="id" files="F2" intrvl="discrete">
      <location width="5"/>
      <labl>
        Shopper id
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Shopper id
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        281722
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get generated ID for the shopper
      </txt>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V2" name="county" files="F2" intrvl="discrete">
      <location width="8"/>
      <labl>
        County acronym
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          County acronym
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get generated County acronym
      </txt>
      <catgry>
        <catValu>
          EMBU
        </catValu>
        <catStat type="freq">
          289181
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          KARATINA
        </catValu>
        <catStat type="freq">
          140241
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          KIAMBU
        </catValu>
        <catStat type="freq">
          179040
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          MURANGA
        </catValu>
        <catStat type="freq">
          139828
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          NRB
        </catValu>
        <catStat type="freq">
          202374
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          NYERI
        </catValu>
        <catStat type="freq">
          121096
        </catStat>
      </catgry>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V3" name="gender" files="F2" intrvl="discrete">
      <location width="6"/>
      <labl>
        Gender
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Gender
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        281722
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get the Gender of the shopper
      </txt>
      <catgry>
        <catValu>
          Female
        </catValu>
        <catStat type="freq">
          168769
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Male
        </catValu>
        <catStat type="freq">
          112953
        </catStat>
      </catgry>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V4" name="description" files="F2" intrvl="discrete">
      <location width="50"/>
      <labl>
        Product name description
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Product name description
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get the Product name description of the item the shopper bought.
      </txt>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V5" name="price" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Unit price of product
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Unit price of product
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <valrng>
        <range UNITS="REAL" min="0" max="10250"/>
      </valrng>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        0
      </sumStat>
      <sumStat type="max">
        10250
      </sumStat>
      <sumStat type="mean">
        124.751
      </sumStat>
      <sumStat type="stdev">
        146.294
      </sumStat>
      <txt>
        This question seeks to get the Unit price of product the shopper bought.
      </txt>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V6" name="quantity" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Quantity of product purchased
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Quantity of product purchased
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <valrng>
        <range UNITS="REAL" min="-50" max="5600"/>
      </valrng>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        -50
      </sumStat>
      <sumStat type="max">
        5600
      </sumStat>
      <sumStat type="mean">
        1.475
      </sumStat>
      <sumStat type="stdev">
        6.387
      </sumStat>
      <txt>
        This question seeks to get the Quantity of product purchased by the shopper .
      </txt>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V7" name="total" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Sales invoice total price
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Sales invoice total price
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <valrng>
        <range UNITS="REAL" min="-30839" max="490038"/>
      </valrng>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        -30839
      </sumStat>
      <sumStat type="max">
        490038
      </sumStat>
      <sumStat type="mean">
        1134.33
      </sumStat>
      <sumStat type="stdev">
        2210.278
      </sumStat>
      <txt>
        This question seeks to get the Sales invoice total price.
      </txt>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V8" name="trnref" files="F2" dcml="0" intrvl="contin">
      <location width="12"/>
      <labl>
        Transaction id
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Transaction id
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <valrng>
        <range min="29" max="10162240"/>
      </valrng>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        29
      </sumStat>
      <sumStat type="max">
        10162240
      </sumStat>
      <sumStat type="mean">
        5165646.623
      </sumStat>
      <sumStat type="stdev">
        2936301.942
      </sumStat>
      <txt>
        This question seeks to get the Transaction id.
      </txt>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V9" name="sdatetime" files="F2" dcml="0" intrvl="contin">
      <location width="11"/>
      <labl>
        Transaction date
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Transaction date
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <valrng>
        <range min="1969519120000" max="2019678115000"/>
      </valrng>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <sumStat type="min">
        1969519120000
      </sumStat>
      <sumStat type="max">
        2019678115000
      </sumStat>
      <sumStat type="mean">
        1996994337711.43
      </sumStat>
      <sumStat type="stdev">
        13661641546.103
      </sumStat>
      <txt>
        This question seeks to get the Transaction date.
      </txt>
      <varFormat type="numeric" schema="other"/>
    </var>
    <var ID="V10" name="paymentmode" files="F2" intrvl="discrete">
      <location width="14"/>
      <labl>
        Payment mode
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Payment mode
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get the Payment mode.
      </txt>
      <catgry>
        <catValu>
          Cash
        </catValu>
        <catStat type="freq">
          854302
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Cheque
        </catValu>
        <catStat type="freq">
          12
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Credit Card
        </catValu>
        <catStat type="freq">
          5963
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Credit Note
        </catValu>
        <catStat type="freq">
          579
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Direct Banking
        </catValu>
        <catStat type="freq">
          1162
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          EFT
        </catValu>
        <catStat type="freq">
          13420
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          LIPA NA MPESA
        </catValu>
        <catStat type="freq">
          2663
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          MPESA
        </catValu>
        <catStat type="freq">
          192679
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Store Account
        </catValu>
        <catStat type="freq">
          490
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Voucher
        </catValu>
        <catStat type="freq">
          490
        </catStat>
      </catgry>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V11" name="branch" files="F2" intrvl="discrete">
      <location width="7"/>
      <labl>
        Branch id of supermarket
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Branch id of supermarket
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get the generated Branch id of the supermarket.
      </txt>
      <catgry>
        <catValu>
          002_003
        </catValu>
        <catStat type="freq">
          63093
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_004
        </catValu>
        <catStat type="freq">
          97038
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_005
        </catValu>
        <catStat type="freq">
          139828
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_006
        </catValu>
        <catStat type="freq">
          140241
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_007
        </catValu>
        <catStat type="freq">
          202374
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_008
        </catValu>
        <catStat type="freq">
          61226
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_009
        </catValu>
        <catStat type="freq">
          129441
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_010
        </catValu>
        <catStat type="freq">
          52023
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_011
        </catValu>
        <catStat type="freq">
          24058
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_012
        </catValu>
        <catStat type="freq">
          63924
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          002_013
        </catValu>
        <catStat type="freq">
          98514
        </catStat>
      </catgry>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V12" name="transaction_id" files="F2" intrvl="discrete">
      <location width="16"/>
      <labl>
        Supermarket branch transaction id
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Supermarket branch transaction id
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get the generated Supermarket branch transaction id.
      </txt>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V13" name="dob_new" files="F2" intrvl="discrete">
      <location width="11"/>
      <labl>
        Date of birth of shopper
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Date of birth of shopper
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        217991
      </sumStat>
      <sumStat type="min">
        1906-11-01
      </sumStat>
      <sumStat type="max">
        2005-12-12
      </sumStat>
      <txt>
        This question seeks to get the Date of birth of the shopper.
      </txt>
      <varFormat type="character" formatname="Nesstar.date" schema="other" category="date"/>
    </var>
    <var ID="V14" name="supermarket_name" files="F2" intrvl="discrete">
      <location width="1"/>
      <labl>
        Supermarket name
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Supermarket name
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get the Supermarket name.
      </txt>
      <catgry>
        <catValu>
          B
        </catValu>
        <catStat type="freq">
          1071760
        </catStat>
      </catgry>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V15" name="branch_name" files="F2" intrvl="discrete">
      <location width="3"/>
      <labl>
        Branch name of supermarket
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Branch name of supermarket
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        <![CDATA[This question seeks to get the Branch name of supermarket
.]]>
      </txt>
      <catgry>
        <catValu>
          B1
        </catValu>
        <catStat type="freq">
          63093
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B10
        </catValu>
        <catStat type="freq">
          63924
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B11
        </catValu>
        <catStat type="freq">
          98514
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B2
        </catValu>
        <catStat type="freq">
          97038
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B3
        </catValu>
        <catStat type="freq">
          139828
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B4
        </catValu>
        <catStat type="freq">
          140241
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B5
        </catValu>
        <catStat type="freq">
          202374
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B6
        </catValu>
        <catStat type="freq">
          61226
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B7
        </catValu>
        <catStat type="freq">
          129441
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B8
        </catValu>
        <catStat type="freq">
          52023
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          B9
        </catValu>
        <catStat type="freq">
          24058
        </catStat>
      </catgry>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V16" name="county_name" files="F2" intrvl="discrete">
      <location width="8"/>
      <labl>
        County
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          County
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get the County where the supermarket is lcated.
      </txt>
      <catgry>
        <catValu>
          Embu
        </catValu>
        <catStat type="freq">
          289181
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Kiambu
        </catValu>
        <catStat type="freq">
          179040
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Murang'a
        </catValu>
        <catStat type="freq">
          139828
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Nairobi
        </catValu>
        <catStat type="freq">
          202374
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Nyeri
        </catValu>
        <catStat type="freq">
          261337
        </catStat>
      </catgry>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V17" name="sub_county_name" files="F2" intrvl="discrete">
      <location width="13"/>
      <labl>
        Sub-county
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Sub-county
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        1071760
      </sumStat>
      <sumStat type="invd">
        0
      </sumStat>
      <txt>
        This question seeks to get the Sub-county where the supermarket is lcated.
      </txt>
      <catgry>
        <catValu>
          Embu West
        </catValu>
        <catStat type="freq">
          289181
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Mathira East
        </catValu>
        <catStat type="freq">
          140241
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Murang'a East
        </catValu>
        <catStat type="freq">
          139828
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Nyeri Central
        </catValu>
        <catStat type="freq">
          121096
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Starehe
        </catValu>
        <catStat type="freq">
          202374
        </catStat>
      </catgry>
      <catgry>
        <catValu>
          Thika West
        </catValu>
        <catStat type="freq">
          179040
        </catStat>
      </catgry>
      <varFormat type="character" schema="other"/>
    </var>
    <var ID="V18" name="age" files="F2" dcml="0" intrvl="contin">
      <location width="10"/>
      <labl>
        Age of shopper
      </labl>
      <respUnit>
        Individuals and supermarket transaction records.
      </respUnit>
      <qstn>
        <preQTxt>
          N/A
        </preQTxt>
        <qstnLit>
          Age of shopper
        </qstnLit>
        <postQTxt>
          N/A
        </postQTxt>
        <ivuInstr>
          N/A
        </ivuInstr>
      </qstn>
      <valrng>
        <range UNITS="REAL" min="18" max="117"/>
      </valrng>
      <universe clusion="I">
        Individuals and supermarket transaction records.
      </universe>
      <sumStat type="vald">
        217991
      </sumStat>
      <sumStat type="invd">
        853769
      </sumStat>
      <sumStat type="min">
        18
      </sumStat>
      <sumStat type="max">
        117
      </sumStat>
      <sumStat type="mean">
        40.728
      </sumStat>
      <sumStat type="stdev">
        11.994
      </sumStat>
      <txt>
        This question seeks to get the Age of shopper.
      </txt>
      <varFormat type="numeric" schema="other"/>
    </var>
  </dataDscr>
</codeBook>
