Consumption Data

This article contains the details for the streaming & sales fact views that are available in Luminate's Data Share.

Musical Recording

Summary

The view VW_DAILY_FACT_MR_DS provides access to the track-level consumption data. In the majority of cases, these tracks have an associated ISRC. Due to delivery nuances with data providers, it is possible an ISRC is not attached to a Musical Recording.

Unlike the metadata views, the fact views contain data that is specific to a territory, which is indicated by the country code and country name fields.

Details

Field NameData TypeDetails
MR_IDVARCHARUnique Luminate ID associated to the Musical Recording
MARKET_IDNUMBERUnique ID associated with a US or Canadian market. For all other territories, the only supported markets are “National” or “Global”
MARKET_NAMEVARCHARMarket name corresponding to the Market ID
COUNTRY_CODEVARCHAR2-digit country code using the ISO 3166-1 alpha-2 format
TRANSACTION_TYPEVARCHARIndicator of the type of sales transaction. Possible values are R (return), S (sale), and CMA (complete my album)
SERVICE_TYPEVARCHARStreaming breakout that describes whether the stream was played on-demand or programmed
CONTENT_TYPEVARCHARStreaming breakout that describes whether the stream was in audio or video format. Available only in US, CA, or AA (Worldwide)
COMMERCIAL_MODELVARCHARStreaming breakout that describes whether the stream was played on a premium or ad-supported platform
METRIC_CATEGORYVARCHARIndicator for the type of consumption record (stream or sale)
QUANTITYNUMBERThe number of units associated with the record (10 streams, 1 sale, etc)
REPORT_DATEDATEThe date of the record as reported by the data provider
MODIFIED_ATTIMESTAMP_NTZA timestamp that indicates when the consumption record for the Musical Recording was last modified within the Luminate database

Performance

The following cluster keys are available to optimize the query performance for this view:

  • COUNTRY_CODE
  • MR_ID
  • REPORT_DATE

Song

Summary

The view VW_DAILY_FACT_SONG_DS provides access to the song-level consumption data.

Unlike the metadata views, the fact views contain data that is specific to a territory, which is indicated by the country code and country name fields.

Details

Field NameData TypeDetails
SONG_IDVARCHARUnique Luminate ID associated to the Song
MARKET_IDNUMBERUnique ID associated with a US or Canadian market. For all other territories, the only supported markets are “National” or “Global”
MARKET_NAMEVARCHARMarket name corresponding to the Market ID
COUNTRY_CODEVARCHAR2-digit country code using the ISO 3166-1 alpha-2 format
TRANSACTION_TYPEVARCHARIndicator of the type of sales transaction. Possible values are R (return), S (sale), and CMA (complete my album)
SERVICE_TYPEVARCHARStreaming breakout that describes whether the stream was played on-demand or programmed
CONTENT_TYPEVARCHARStreaming breakout that describes whether the stream was in audio or video format. Available only in US, CA, or AA (Worldwide)
COMMERCIAL_MODELVARCHARStreaming breakout that describes whether the stream was played on a premium or ad-supported platform
METRIC_CATEGORYVARCHARIndicator for the type of consumption record (stream or sale)
QUANTITYNUMBERThe number of units associated with the record (10 streams, 1 sale, etc)
REPORT_DATEDATEThe date of the record as reported by the data provider
MODIFIED_ATTIMESTAMP_NTZA timestamp that indicates when the consumption record for the Song was last modified within the Luminate database

Performance

The following cluster keys are available to optimize the query performance for this view:

  • COUNTRY_CODE
  • SONG_ID
  • REPORT_DATE

Musical Product

Summary

The view VW_DAILY_FACT_MP_DS provides access to the barcode-level consumption data.

Unlike the metadata views, the fact views contain data that is specific to a territory, which is indicated by the country code and country name fields.

Details

Field NameData TypeDetails
MP_IDVARCHARUnique Luminate ID associated to the Musical Product
ICPNVARCHARBarcode associated to the Musical Product
MARKET_IDNUMBERUnique ID associated with the US or Canadian market. For all other territories, the only supported markets are “National” or “Global”
MARKET_NAMEVARCHARMarket name corresponding to the Market ID
COUNTRY_CODEVARCHAR2-digit country code using the ISO 3166-1 alpha-2 format
PRODUCT_FORMATVARCHARThe medium used in the creation of the Musical Product (CD, Vinyl, etc)
TRANSACTION_TYPEVARCHARIndicator of the type of sales transaction. Possible values are R (return), S (sale), and CMA (complete my album)
CONTENT_TYPEVARCHARStreaming breakout that describes whether the stream was in audio or video format. Available only in US, CA, or AA (Worldwide)
COMMERCIAL_MODELVARCHARStreaming breakout that describes whether the stream was played on a premium or ad-supported platform
SERVICE_TYPEVARCHARStreaming breakout that describes whether the stream was played on-demand or programmed
METRIC_CATEGORYVARCHARIndicator of the type of consumption record (stream or sale). Streaming data is derived from the associated Musical Recordings
STORE_STRATAVARCHARThe strata attribute represents the category of retailer that reported the sale
DISTRIBUTION_CHANNELVARCHARThe distribution channel attribute represents the channel by which the product was distributed to the market
PURCHASE_METHODVARCHARThe purchase method attribute represents the way in which the consumer purchased the product
QUANTITYNUMBERThe number of units associated with the record (10 streams, 1 sale, etc)
REPORT_DATEDATEThe date of the record as reported by the data provider
MODIFIED_ATTIMESTAMP_NTZA timestamp that indicates when the consumption record for the Musical Product was last modified within the Luminate database

Performance

The following cluster keys are available to optimize the query performance for this view:

  • COUNTRY_CODE
  • MP_ID
  • REPORT_DATE

Musical Release

Summary

The view VW_DAILY_FACT_MREL_DS provides access to the release-level consumption data.

Unlike the metadata views, the fact views contain data that is specific to a territory, which is indicated by the country code and country name fields.

Details

Field NameData TypeDetails
MREL_IDVARCHARUnique Luminate ID associated to the Musical Release
MARKET_IDNUMBERUnique ID associated with the US or Canadian market. For all other territories, the only supported markets are “National” or “Global”
MARKET_NAMEVARCHARMarket name corresponding to the Market ID
COUNTRY_CODEVARCHAR2-digit country code using the ISO 3166-1 alpha-2 format
PRODUCT_FORMATVARCHARThe medium used in the creation of the Musical Release (CD, Vinyl, etc)
TRANSACTION_TYPEVARCHARIndicator of the type of sales transaction. Possible values are R (return), S (sale), and CMA (complete my album)
CONTENT_TYPEVARCHARStreaming breakout that describes whether the stream was in audio or video format. Available only in US, CA, or AA (Worldwide)
COMMERCIAL_MODELVARCHARStreaming breakout that describes whether the stream was played on a premium or ad-supported platform
SERVICE_TYPEVARCHARStreaming breakout that describes whether the stream was played on-demand or programmed
METRIC_CATEGORYVARCHARIndicator of the type of consumption record (stream or sale). Streaming data is derived from the associated Musical Recordings
STORE_STRATAVARCHARThe strata attribute represents the category of retailer that reported the sale
DISTRIBUTION_CHANNELVARCHARThe distribution channel attribute represents the channel by which the product was distributed to the market
PURCHASE_METHODVARCHARThe purchase method attribute represents the way in which the consumer purchased the product
QUANTITYNUMBERThe number of units associated with the record (10 streams, 1 sale, etc)
REPORT_DATEDATEThe date of the record as reported by the data provider
MODIFIED_ATTIMESTAMP_NTZA timestamp that indicates when the consumption record for the Musical Release was last modified within the Luminate database

Performance

The following cluster keys are available to optimize the query performance for this view:

  • COUNTRY_CODE
  • MREL_ID
  • REPORT_DATE

Musical Release Group

Summary

The view VW_DAILY_FACT_MRELG_DS provides access to the album-level consumption data.

Unlike the metadata views, the fact views contain data that is specific to a territory, which is indicated by the country code and country name fields.

Details

Field NameData TypeDetails
MRELG_IDVARCHARUnique Luminate ID associated to the Musical Release Group
MARKET_IDNUMBERUnique ID associated with the US or Canadian market. For all other territories, the only supported markets are “National” or “Global”
MARKET_NAMEVARCHARMarket name corresponding to the Market ID
COUNTRY_CODEVARCHAR2-digit country code using the ISO 3166-1 alpha-2 format
PRODUCT_FORMATVARCHARThe medium used in the creation of the Musical Release Group (CD, Vinyl, etc)
TRANSACTION_TYPEVARCHARIndicator of the type of sales transaction. Possible values are R (return), S (sale), and CMA (complete my album)
CONTENT_TYPEVARCHARStreaming breakout that describes whether the stream was in audio or video format. Available only in US, CA, or AA (Worldwide)
COMMERCIAL_MODELVARCHARStreaming breakout that describes whether the stream was played on a premium or ad-supported platform
SERVICE_TYPEVARCHARStreaming breakout that describes whether the stream was played on-demand or programmed
METRIC_CATEGORYVARCHARIndicator of the type of consumption record (stream or sale). Streaming data is derived from the associated Musical Recordings
STORE_STRATAVARCHARThe strata attribute represents the category of retailer that reported the sale
DISTRIBUTION_CHANNELVARCHARThe distribution channel attribute represents the channel by which the product was distributed to the market
PURCHASE_METHODVARCHARThe purchase method attribute represents the way in which the consumer purchased the product
QUANTITYNUMBERThe number of units associated with the record (10 streams, 1 sale, etc)
REPORT_DATEDATEThe date of the record as reported by the data provider
MODIFIED_ATTIMESTAMP_NTZA timestamp that indicates when the consumption record for the Musical Release Group was last modified within the Luminate database

Performance

The following cluster keys are available to optimize the query performance for this view:

  • COUNTRY_CODE
  • MRELG_ID
  • REPORT_DATE

Artist

Summary

The view VW_DAILY_FACT_ARTIST_DS provides access to the artist-level consumption data.

Unlike the metadata views, the fact views contain data that is specific to a territory, which is indicated by the country code and country name fields.

Details

Field NameData TypeDetails
ARTIST_IDVARCHARUnique Luminate ID associated to the Artist
MARKET_IDNUMBERUnique ID associated with the US or Canadian market. For all other territories, the only supported markets are “National” or “Global”
MARKET_NAMEVARCHARMarket name corresponding to the Market ID
COUNTRY_CODEVARCHAR2-digit country code using the ISO 3166-1 alpha-2 format
PRODUCT_FORMATVARCHARThe medium used in the creation of the Musical Product (CD, Vinyl, etc)
TRANSACTION_TYPEVARCHARIndicator of the type of sales transaction. Possible values are R (return), S (sale), and CMA (complete my album)
METRIC_CATEGORYVARCHARIndicator of the type of consumption record (stream or sale). Streaming data is derived from the associated Musical Recordings
REPORT_DATEDATEThe date of the record as reported by the data provider
CONTENT_TYPEVARCHARStreaming breakout that describes whether the stream was in audio or video format. Available only in US, CA, or AA (Worldwide)
COMMERCIAL_MODELVARCHARStreaming breakout that describes whether the stream was played on a premium or ad-supported platform
SERVICE_TYPEVARCHARStreaming breakout that describes whether the stream was played on-demand or programmed
STORE_STRATAVARCHARThe strata attribute represents the category of retailer that reported the sale
DISTRIBUTION_CHANNELVARCHARThe distribution channel attribute represents the channel by which the product was distributed to the market
PURCHASE_METHODVARCHARThe purchase method attribute represents the way in which the consumer purchased the product
QUANTITYNUMBERThe number of units associated with the record (10 streams, 1 sale, etc)
MODIFIED_ATTIMESTAMP_NTZA timestamp that indicates when the consumption record for the Artist was last modified within the Luminate database

Performance

The following cluster keys are available to optimize the query performance for this view:

  • COUNTRY_CODE
  • ARTIST_ID
  • REPORT_DATE