generated from cds-snc/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add data catalog and fix links
- Loading branch information
Showing
7 changed files
with
84 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Data catalog | ||
Provides an inventory that contains metadata, descriptions, and technical details about all data sources within the data lake. | ||
|
||
- [Platform / Support / Freshdesk](./platform/support/freshdesk.md) | ||
- [Operations / AWS / Cost and Usage Report](./operations/aws/cost-and-usage-report.md) | ||
|
||
:page_facing_up: When adding a new pipeline, please use [template.md](./template.md) as a starting point. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
This query will return the first ten rows of the "Freshdesk" | ||
dataset. To run it, open the SQL Lab in Superset and cut and paste the whole | ||
query into the query window. | ||
SQL Lab: https://superset.cds-snc.ca/sqllab/ | ||
The example dataset is provided as a query instead of a CSV to limit | ||
visibility to only those with Superset access. | ||
*/ | ||
|
||
SELECT | ||
* | ||
FROM | ||
platform_support_production.platform_support_freshdesk | ||
LIMIT 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Platform / Support / Freshdesk | ||
|
||
Dataset providing [Freshdesk](https://www.freshworks.com/freshdesk/) support ticket data raised by the users of CDS products. | ||
|
||
Each row is a Freshdesk ticket that does not include any personally identifiable information (PII) or user entered content. | ||
|
||
This dataset is represented in [Superset](https://superset.cds-snc.ca/) as the Physical dataset `platform_support_freshdesk`. | ||
|
||
**Keywords:** Platform, Freshdesk, support, tickets | ||
|
||
--- | ||
|
||
[:information_source: View the data pipeline](../../../pipelines/platform/support/freshdesk.md) | ||
|
||
## Provenance | ||
|
||
This dataset is extracted daily using the Freshdesk API. Each day the extract process downloads all tickets from the previous day that have been updated or created. These tickets are then merged with the existing tickets in the dataset. | ||
|
||
More documentation on the pipeline can be found [here](../../../pipelines/platform/support/freshdesk.md). | ||
|
||
* **Updated:** Daily | ||
* **Steward:** Platform Core Services | ||
* **Contact:** [Pat Heard](mailto:[email protected]) | ||
* **Location:** s3://cds-data-lake-transformed-production/platform/support/freshdesk/month=YYYY-MM/*.parquet | ||
|
||
## Fields | ||
|
||
Almost all fields are sourced directly from Freshdesk's [Tickets](https://developers.freshdesk.com/api/#tickets), [Contacts](https://developers.freshdesk.com/api/#contacts), and [Conversations](https://developers.freshdesk.com/api/#conversations) API endpoints. | ||
|
||
A [query to return example data](examples/freshdesk.sql) has also been provided. | ||
|
||
Here's a descriptive list of the Freshdesk ticket fields: | ||
|
||
* `id` (bigint) - Unique identifier for each support ticket. | ||
* `status` (bigint) - Numerical code representing the ticket's current status. | ||
* `status_label` (string) - Human-readable label for the ticket status (e.g., "Open", "Pending", "Resolved"). | ||
* `priority` (bigint) - Numerical code indicating the ticket's priority level. | ||
* `priority_label` (string) - Human-readable label for the priority level (e.g., "Low", "Medium", "High", "Urgent"). | ||
* `source` (bigint) - Numerical code indicating how the ticket was created. | ||
* `source_label` (string) - Human-readable label for the ticket source (e.g., "Email", "Phone", "Portal", "Chat"). | ||
* `created_at` (timestamp) - Date and time when the ticket was initially created. | ||
* `updated_at` (timestamp) - Date and time of the most recent update to the ticket. | ||
* `due_by` (timestamp) - Deadline for ticket resolution based on support policies. | ||
* `fr_due_by` (timestamp) - First response due time based on support policies. | ||
* `is_escalated` (boolean) - Indicates whether the ticket has been escalated to a higher support tier. | ||
* `tags` (array<string>) - List of labels or categories assigned to the ticket for classification. | ||
* `spam` (boolean) - Indicates whether the ticket has been marked as spam. | ||
* `requester_email_suffix` (string) - Domain portion of the requester's email address. For non Government of Canada users, this will have the value of `external`. | ||
* `type` (string) - Classification of the ticket type. | ||
* `product_id` (bigint) - Unique identifier for the product associated with the ticket. | ||
* `product_name` (string) - Name of the product associated with the ticket. | ||
* `conversations_total_count` (bigint) - Total number of messages in the ticket thread. | ||
* `conversations_reply_count` (bigint) - Number of replies to and from the user in the ticket thread. | ||
* `conversations_note_count` (bigint) - Number of internal notes from the support team added to the ticket. | ||
* `language` (string) - Primary language used in the ticket communication. | ||
* `province_or_territory` (string) - Canadian province or territory where the ticket originated. | ||
* `organization` (string) - Government of Canada department or crown corporation associated with the ticket requester. | ||
* `month` (string) - Month of ticket creation, used as a partition key for data organization. | ||
|
||
## Notes | ||
|
||
The `language`, `province_or_territory` and `organization` fields are custom fields managed by the Platform Support team. As such, they will not always have a value populated in the dataset. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters