Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.
Lecture à partir d’entités Mixpanel
Prérequis
Vous devez disposer d’un objet Mixpanel, tel que Funnels, Retention ou Retention Funnels, à partir duquel vous souhaitez lire des données. En outre, vous devez connaître le nom de l’objet.
Entités prises en charge
| Entité | Peut être filtré | Limit prise en charge | Order by prise en charge | Select prise en charge* | Partitionnement pris en charge |
|---|---|---|---|---|---|
| Funnels | Oui | Non | Non | Oui | Non |
| Retention | Oui | Non | Non | Oui | Non |
| Segmentation | Oui | Non | Non | Oui | Non |
| Segmentation Sum | Oui | Non | Non | Oui | Non |
| Segmentation Average | Oui | Non | Non | Oui | Non |
| Cohorts | Oui | Non | Non | Oui | Non |
| Engage | Non | Oui | Non | Oui | Non |
| Événements | Oui | Non | Non | Oui | Non |
| Events Top | Oui | Non | Non | Oui | Non |
| Events Names | Oui | Non | Non | Oui | Non |
| Events Properties | Oui | Non | Non | Oui | Non |
| Events Properties Top | Oui | Non | Non | Oui | Non |
| Events Properties Values | Oui | Non | Non | Oui | Non |
| Annotations | Oui | Non | Non | Oui | Non |
| Profile Event Activity | Oui | Non | Non | Oui | Non |
Exemple
mixpanel_read = glueContext.create_dynamic_frame.from_options( connection_type="mixpanel", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "/cohorts/list?project_id=2603353", "API_VERSION": "2.0", "INSTANCE_URL": "https://www.mixpanel.com/api/app/me" }
Détails des entités et des champs Mixpanel
| Entité | Champ | Type de données | Opérateurs pris en charge |
|---|---|---|---|
| Funnel (Synthèse) | funnel_id | Entier | '=' |
| workspace_id | Entier | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=’ | |
| longueur | Entier | '=' | |
| length_unit | Chaîne | '=' | |
| interval | Entier | '=' | |
| unité | Chaîne | '=' | |
| limite | Entier | '=' | |
| data | Struct | ||
| meta | Struct | ||
| Retention | workspace_id | Entier | '=' |
| unité | Chaîne | '=' | |
| addiction_unit | Chaîne | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=' | |
| event | Chaîne | '=' | |
| limite | Entier | '=' | |
| data | Struct | ||
| Segmentation | workspace_id | Entier | '=' |
| event | Chaîne | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=' | |
| unité | Chaîne | '=' | |
| interval | Entier | '=' | |
| limite | Entier | '=' | |
| type | Chaîne | '=' | |
| series | Liste | ||
| values | Struct | ||
| data | Struct | ||
| Segmentation Numeric | workspace_id | Entier | '=' |
| event | Chaîne | '=' | |
| on | Chaîne | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=' | |
| unité | Chaîne | '=' | |
| type | Chaîne | '=' | |
| series | Liste | ||
| values | Struct | ||
| Segmentation Sum | workspace_id | Entier | '=' |
| event | Chaîne | '=' | |
| on | Chaîne | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=' | |
| unité | Chaîne | '=' | |
| métadonnées | Struct | ||
| results | Struct | ||
| Segmentation Average | workspace_id | Entier | '=' |
| event | Chaîne | '=' | |
| on | Chaîne | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=' | |
| unité | Chaîne | '=' | |
| métadonnées | Struct | ||
| results | Struct | ||
| Cohorts | count | Entier | |
| is_visible | Entier | ||
| description | Chaîne | ||
| créé | DateTime | ||
| project_id | Entier | ||
| id | BigInteger | ||
| name | Chaîne | ||
| data_group_id | Chaîne | ||
| Engage | distinct_id | Chaîne | |
| propriétés | Struct | ||
| Event | espace de travail | Entier | '=' |
| event | Chaîne | '=' | |
| type | Chaîne | '=' | |
| unité | Chaîne | '=' | |
| interval | Entier | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=' | |
| series | Liste | ||
| values | Struct | ||
| Events Top | type | Chaîne | '=' |
| workspace_id | Entier | '=' | |
| limite | Entier | '=' | |
| amount | Entier | ||
| event | Chaîne | ||
| percent_change | Float | ||
| Event Name | data | Liste | |
| workspace_id | Entier | '=' | |
| type | Chaîne | '=' | |
| limite | Entier | '=' | |
| Events Properties | workspace_id | Entier | '=' |
| event | Chaîne | '=' | |
| name | Chaîne | '=' | |
| type | Chaîne | '=' | |
| unité | Chaîne | '=' | |
| interval | Entier | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=' | |
| limite | Entier | '=' | |
| data | Struct | ||
| series | Liste | ||
| values | Struct | ||
| Event Properties Top | workspace_id | Entier | '=' |
| event | Chaîne | '=' | |
| limite | Entier | '=' | |
| data | Struct | ||
| Event Properties Value | workspace_id | Entier | '=' |
| event | Chaîne | '=' | |
| limite | Entier | '=' | |
| name | Chaîne | '=' | |
| data | Liste | ||
| Annotation | workspace_id | Entier | |
| date | DateTime | ||
| project_id | Entier | ||
| id | BigInteger | ||
| description | Chaîne | ||
| from_date | Date | BETWEEN | |
| Profile Event Activity | workspace_id | Entier | '=' |
| distinct_ids | Chaîne | '=' | |
| from_date | Date | '=' | |
| to_date | Date | '=' | |
| event | Chaîne | ||
| propriétés | Struct |