Trade

This page outlines what trade data Codera makes available through EconData. This “Trade” Category falls under our EconData StatsSA Category Scheme. In these dataflow docs, we outline the dimensions in the series keys we use, and detail the codes used in those concepts.

Motor Trade

This statistical release contains results of the monthly survey of retail trade in motor vehicles and accessories. The survey is designed to obtain information regarding income from the sales of new and used vehicles, workshop income, other trading income and the number of new and used vehicles sold. Please click on this paragraph for more detail.

ID: MOTOR_TRADE

Supplier source page

Concept(Constant) Value
SourceSTATSSA
Source DatasetP6343.2
Unit multiplierMillions
Price conceptReal
Unit of measureRand
FrequencyMonthly

Minimum Period: 1998-01-01 (beginning with “Total” MTS003).

Series Name

  • Income from the sales of accessories MTS001
  • Income from convenient store sales MTS002
  • Total MTS003
  • Income from fuel sales MTS004
  • New vehicle sales MTS005
  • Used vehicle sales MTS006
  • Workshop income MTS007

Seasonal Adjustment

  • Neither seasonally adjusted nor calendar adjusted N
  • Seasonally adjusted, not calendar adjusted S

Retail Trade

This statistical release contains information regarding actual values of retail trade sales (including Value Added Tax (VAT)) according to type of business. Please click on this paragraph for more detail.

ID: RETAIL

Publication code: P6242.1

Supplier source page

Dimensions

  1. Series Name (a.k.a. Mnemonic; this is a string which is encoded)
    read_registry("codelist", id="CL_RETAIL")
    • General dealers RET001
    • Retailers of food, beverages and tobacco in specialised stores RET002
    • Retailers in pharmaceutical and medical goods, cosmetics and toiletries RET003
    • Retailers in textiles, clothing, footwear and leather goods RET004
    • Retailers in household furniture, appliances and equipment RET005
    • Retailers in hardware, paint and glass RET006
    • All other retailers RET007
    • Total RET008
  2. Measure (Values S)
  3. Seasonal Adjustment
    • Neither seasonally adjusted nor calendar adjusted data N
    • Seasonally adjusted data, not calendar adjusted S

Attributes

Dataset-level attributes include

AttributeValue
Dataset NameRetail Trade
Publication Source CodeP6242.1
FrequencyMonthly

And series-level attributes for this dataflow are

  • Unit Multiplier (millions)
  • Unit of Measure (Rand)
  • Source ID: original series code used by the supplier
  • Label (mnemonic useful for analysis)
  • Base Period

Wholesale Trade

This statistical release contains results of the monthly survey regarding wholesale trade sales. Wholesale trade sales exclude Value Added Tax (VAT). The statistics include actual and seasonally adjusted values of wholesale trade sales according to type of wholesaler at current as well as at constant prices. Please click on this paragraph for more detail.

StatsSA’s monthly survey covers enterprises in the wholesale trade industry. It samples them from StatsSA’s statistical business register, which lists businesses registered with SARS for VAT and income tax. StatsSA publishes each month about seven weeks after the month ends. EconData releases the new figures within several minutes of StatsSA’s publication.

ID: WHOLESALE

Publication code: P6141.2

Supplier source page

Version 1.2.0, the current version, holds 16 series:

  • 4 series for total wholesale trade (WHO001), from January 1998. Sales at current prices and at constant 2019 prices, each one unadjusted and seasonally adjusted.
  • 12 types of dealer (WHO002 to WHO013), from September 2004. Sales at current prices, not seasonally adjusted. StatsSA’s release breaks sales down by type of dealer only at current prices and only unadjusted.

Every series is in rand millions. Sales at constant prices are real sales, valued at 2019 prices.

Attributes

AttributeValue (constant)
Source DatasetP6141.2
FrequencyMonthly
Unit of MeasureRand
Unit MultiplierMillions
Base Period2019 (v1.2.0) on the two constant-price totals only
Data ProviderStatsSA

Series-level attributes

  • Label: the descriptive series name
  • Source Identifier: StatsSA’s own series code. The totals use cur_act / cur_seas (current prices, unadjusted / seasonally adjusted) and con_act / con_seas (constant prices). The dealer series use sales plus StatsSA’s SIC-based code for that type of dealer, e.g. sales6122 for food, beverages and tobacco.

Dimensions

There are three dimensions, in series-key order MNEMONIC.MEASURE.SEASONAL_ADJUST.

Worked example: WHO001.I.S is total wholesale trade sales at constant 2019 prices, seasonally adjusted.

1. Mnemonic

Codelist: CL_WHOLESALE

  • Total WHO001
  • Wholesale trade on a fee or contract basis WHO002
  • Wholesale trade in agricultural raw materials and livestock WHO003
  • Wholesale trade in food, beverages and tobacco WHO004
  • Wholesale trade in textiles, clothing and footwear WHO005
  • Wholesale trade in other household goods except precious stones WHO006
  • Wholesale trade in precious stones, jewellery and silverware WHO007
  • Wholesale trade in solid, liquid and gaseous fuels and related products WHO008
  • Wholesale trade in metals and metal ores WHO009
  • Wholesale trade in construction and building materials WHO010
  • Wholesale trade in other intermediate products, waste and scrap WHO011
  • Wholesale trade in machinery, equipment and supplies WHO012
  • Wholesale trade in other goods WHO013

The codelist also contains WHO014, WHO015 and WHO016. They repeat the names of WHO011 to WHO013 but carry no data, so use WHO011 to WHO013.

2. Measure

Codelist: CL_MEASURE_TYPE

  • Values (sales at current prices) S
  • Volumes (sales at constant 2019 prices) I

3. Seasonal Adjustment

Codelist: CL_SEASONAL_ADJUST (SDMX)

  • Neither seasonally adjusted nor calendar adjusted data N
  • Seasonally adjusted data, not calendar adjusted S

StatsSA seasonally adjusts with X-12-ARIMA and revises the seasonally adjusted figures every month.

Series (16)

Series keyDescriptionSource Identifier
WHO001.S.NTotal, current pricescur_act
WHO001.S.STotal, current prices, seasonally adjustedcur_seas
WHO001.I.NTotal, constant 2019 pricescon_act
WHO001.I.STotal, constant 2019 prices, seasonally adjustedcon_seas
WHO002.S.NWholesale trade on a fee or contract basissales6110
WHO003.S.NWholesale trade in agricultural raw materials and livestocksales6121
WHO004.S.NWholesale trade in food, beverages and tobaccosales6122
WHO005.S.NWholesale trade in textiles, clothing and footwearsales6131
WHO006.S.NWholesale trade in other household goods except precious stonessales6139
WHO007.S.NWholesale trade in precious stones, jewellery and silverwaresales613A
WHO008.S.NWholesale trade in solid, liquid and gaseous fuels and related productssales6141
WHO009.S.NWholesale trade in metals and metal oressales6142
WHO010.S.NWholesale trade in construction and building materialssales6143
WHO011.S.NWholesale trade in other intermediate products, waste and scrapsales6149
WHO012.S.NWholesale trade in machinery, equipment and suppliessales6150
WHO013.S.NWholesale trade in other goodssales6190

On the four WHO001 series the Label attribute is just “Total”. The key tells them apart.

The twelve dealer series add up to WHO001.S.N, apart from rounding.

Earlier versions

Version 1.1.0 has the same 16 series and the same mnemonics. Its releases run from October 2021 to April 2022, when StatsSA’s constant-price series used 2015 as the base year, so the two constant-price totals carry Base Period 2015 there. StatsSA moved the base year to 2019 with its May 2022 release (published 14 July 2022). Version 1.2.0 holds that release and every later one, so use 1.2.0 unless you need the 2015-based vintages.

Version 1.0.0 holds StatsSA’s discontinued wholesale series, which end in December 2003. The unadjusted series start in January 1966 and the seasonally adjusted series in January 1985. They use an older classification of dealers, and they give volumes as indices (base June 1995) rather than constant-price rand. This version is no longer updated. Its mnemonics do not line up with versions 1.1.0 and 1.2.0: for example, WHO002 is foodstuffs, beverages and tobacco in 1.0.0 but fee or contract basis in 1.1.0 and 1.2.0. Select 1.0.0 series by Label or Source Identifier.

Example

library(econdatar)

# Real wholesale trade sales (constant 2019 prices), seasonally adjusted
real_sa <- read_dataset("WHOLESALE", series_key = "WHO001.I.S")

# An empty segment is a wildcard: both seasonally adjusted totals
totals_sa <- read_dataset("WHOLESALE", series_key = "WHO001..S")

StatsSA Categories