Skip to contents

replace_lookup_table

Usage

replace_lookup_table(
  mp_service_account_name = Sys.getenv("MP_SERVICE_ACCOUNT_NAME"),
  mp_service_account_secret = Sys.getenv("MP_SERVICE_ACCOUNT_TOKEN"),
  mp_project_id = Sys.getenv("MP_PROJECT_ID"),
  lookup_table_id,
  table_to_replace
)

Arguments

mp_service_account_name

The Mixpanel Service Account Name

mp_service_account_secret

The Mixpanel Service Account Token

mp_project_id

str The Mixpanel Project ID

lookup_table_id

str The id to identify the lookup table

table_to_replace

The dataframe to replace the lookup table

Value

Success Message if Lookup table has been replaced successfully