Mixpanel 엔터티에서 읽기
사전 조건
데이터를 읽으려는 Funnels, Retention 또는 Retention Funnels와 같은 Mixpanel 객체가 있어야 합니다. 또한 객체 이름을 알아야 합니다.
지원되는 엔터티
| 개체 | 필터링 가능 | 제한 지원 | 정렬 기준 지원 | Select * 지원 | 분할 지원 |
|---|---|---|---|---|---|
| Funnels | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Retention | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Segmentation | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Segmentation Sum | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Segmentation Average | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Cohorts | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Engage | 아니요 | 예 | 아니요 | 예 | 아니요 |
| 이벤트 | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Events Top | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Events Names | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Events Properties | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Events Properties Top | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Events Properties Values | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Annotations | 예 | 아니요 | 아니요 | 예 | 아니요 |
| Profile Event Activity | 예 | 아니요 | 아니요 | 예 | 아니요 |
예제
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" }
Mixpanel 엔터티 및 필드 세부 정보
| 개체 | 필드 | 데이터 형식 | 지원되는 연산자 |
|---|---|---|---|
| Funnel | funnel_id | Integer | '=' |
| workspace_id | Integer | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=’ | |
| length | Integer | '=' | |
| length_unit | String | '=' | |
| interval | Integer | '=' | |
| unit | String | '=' | |
| 제한 | Integer | '=' | |
| data | Struct | ||
| meta | Struct | ||
| Retention | workspace_id | Integer | '=' |
| unit | String | '=' | |
| addiction_unit | String | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=' | |
| 이벤트 | String | '=' | |
| 제한 | Integer | '=' | |
| data | Struct | ||
| Segmentation | workspace_id | Integer | '=' |
| 이벤트 | String | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=' | |
| unit | String | '=' | |
| interval | Integer | '=' | |
| 제한 | Integer | '=' | |
| type | String | '=' | |
| series | 나열 | ||
| values | Struct | ||
| data | Struct | ||
| Segmentation Numeric | workspace_id | Integer | '=' |
| 이벤트 | String | '=' | |
| on | String | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=' | |
| unit | String | '=' | |
| type | String | '=' | |
| series | 나열 | ||
| values | Struct | ||
| Segmentation Sum | workspace_id | Integer | '=' |
| 이벤트 | String | '=' | |
| on | String | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=' | |
| unit | String | '=' | |
| metadata | Struct | ||
| results | Struct | ||
| Segmentation Average | workspace_id | Integer | '=' |
| 이벤트 | String | '=' | |
| on | String | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=' | |
| unit | String | '=' | |
| metadata | Struct | ||
| results | Struct | ||
| Cohorts | count | Integer | |
| is_visible | Integer | ||
| 설명 | String | ||
| created | DateTime | ||
| project_id | Integer | ||
| id | BigInteger | ||
| name | String | ||
| data_group_id | String | ||
| Engage | distinct_id | String | |
| 속성 | Struct | ||
| Event | WorkSpace | Integer | '=' |
| 이벤트 | String | '=' | |
| type | String | '=' | |
| unit | String | '=' | |
| interval | Integer | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=' | |
| series | 나열 | ||
| values | Struct | ||
| Events Top | type | String | '=' |
| workspace_id | Integer | '=' | |
| 제한 | Integer | '=' | |
| amount | Integer | ||
| 이벤트 | String | ||
| percent_change | Float | ||
| Event Name | data | 나열 | |
| workspace_id | Integer | '=' | |
| type | String | '=' | |
| 제한 | Integer | '=' | |
| Event Properties | workspace_id | Integer | '=' |
| 이벤트 | String | '=' | |
| name | String | '=' | |
| type | String | '=' | |
| unit | String | '=' | |
| interval | Integer | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=' | |
| 제한 | Integer | '=' | |
| data | Struct | ||
| series | 나열 | ||
| values | Struct | ||
| Event Properties Top | workspace_id | Integer | '=' |
| 이벤트 | String | '=' | |
| 제한 | Integer | '=' | |
| data | Struct | ||
| Event Properties Value | workspace_id | Integer | '=' |
| 이벤트 | String | '=' | |
| 제한 | Integer | '=' | |
| name | String | '=' | |
| data | 나열 | ||
| Annotation | workspace_id | Integer | |
| date | DateTime | ||
| project_id | Integer | ||
| id | BigInteger | ||
| 설명 | String | ||
| from_date | 날짜 | BETWEEN | |
| Profile Event Activity | workspace_id | Integer | '=' |
| distinct_ids | String | '=' | |
| from_date | 날짜 | '=' | |
| to_date | 날짜 | '=' | |
| 이벤트 | String | ||
| 속성 | Struct |