| store | R Documentation |
This dataset contains information about stores within the Contoso dataset. It includes details about the store's geographic location, operational status, and physical characteristics such as size and opening/closing dates. It provides insights into the store network of the company.
store
A data frame with 74 rows (73 physical stores plus the online channel) and 11 columns:
double Unique identifier for each store. 999999 is
the online channel sentinel.
double A code identifying the site.
Not unique — a site with successive premises shares one code
across several store_key values. -1 on the online row.
double The geographical area, on the same
numbering as customer$geo_area_key. No geo-area table ships with
the package, so this resolves to nothing on its own. -1 on the online row.
character The country code where the store is
located (e.g., "US", "DE"), plus the placeholder "--" on the online row.
character The full name of the country, plus the
pseudo-country "Online".
character The state or region, always spelled out —
unlike customer$state, which is often abbreviated. Literally
"Online" on the online row.
Date The date when the store was opened.
Date The date when the store was closed. Missing
for stores still trading.
character Always "Contoso Store <state>"
for physical stores, and "Online store" for the online row. Carries
no store-format information.
double The physical size of the store in square
meters. Missing on the online row.
character Exceptional status only: "Closed" or
"Restructured". Missing, never "Open", for stores trading
normally — test with is.na() rather than comparing to a string.
store_key 999999 is the online channel, not a location. It carries sentinel
values throughout: store_code and geo_area_key are -1, country_code is
"--", country_name and state are literally "Online", and
square_meters is missing. Filter it out before any geographic or
floor-space aggregate. It accounts for a little over half of all sales lines.
https://github.com/sql-bi/Contoso-Data-Generator-V2-Data/releases/tag/ready-to-use-data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.