fdl.EventIdDataSource

Indicates the single row to use for point explanation given the Event ID.

Input ParameterTypeDefaultDescription
event_idstrNoneSingle event id corresponding to the row to explain.
dataset_namestrNoneThe dataset name if the event is located in the dataset table or 'production' if the event if part of the production data.
DATASET_ID = 'example_dataset'

# In Dataset table
data_source = fdl.EventIdDataSource(
    event_id='xGhys7-83HgdtsoiuYTa872',
  	dataset_name=DATASET_ID,
)

# In Production table
data_source = fdl.EventIdDataSource(
    event_id='xGhys7-83HgdtsoiuYTa872',
  	dataset_name='production',
)