Takespark
To enable the migration from the dslabsbricks, functions from the TakeSpark had to be incorporated into the dataforge package. Our team is working to make available all functions the users may need. Here, it is listed all functions ready for use.
Save Table (save_table)
Module: save_table
Functions:
- save_tables_alt
- initial_info
How to use:
Import Data (import_data)
The import data refers to the functions that read that from some source and save it to lake.
Module: import_data.google_spreadsheets
Functions:
-
google_access_spreadsheet
-
google_read_worksheet
How to use:
Pipeline Utils (pipeutils)
Module: pipeutils
Functions:
- check_delta_update
How to use:
Refining (refining)
Module: refining
The refining functions are break down in 5 groups:
#### 1. Desk
Desk contains the functions that refine desk related data
Functions:
-
desk_tickets_per_hour
-
desk_tickets_per_hour
-
desk_attendantsstatus_base
-
desk_attendantsstatus_per_window
-
desk_messages_base
-
desk_messages_base_alt
-
desk_messag'es_analysis
You can use the following command to import a single function
Or this command to import all functions related to desk
2. Events_Messages
Events_Messages contains the functions that refine eventtracks and messages related data
Functions:
-
events_messages_base
-
events_messages_users_inputs
You can use the following command to import a single function
Or this command to import all functions related to desk
3. Eventtracks
Eventtracks contains the functions that refine eventtracks related data
Functions:
-
eventtracks_base
-
eventtracks_session
-
eventtracks_decomp_query
-
eventtracks_decomp_tree
-
eventtracks_users_last_event
-
eventtracks_email_session_table
You can use the following command to import a single function
Or this command to import all functions related to desk
4. Messages
Messages contains the functions that refine messages related data
Functions:
-
messages_base
-
messages_base_alt
-
messages_mrr
-
messages_session_definer
-
messages_states_decomp
-
messages_session_steps
-
messages_per_window
-
messages_mrr_alt
You can use the following command to import a single function
Or this command to import all functions related to desk
5. Support
Miscellaneous support functions
Functions:
-
aux_tunnel_id
-
aux_accountcontacts
-
aux_irisaccounts
-
aux_get_tenant_bots
-
aux_get_date_br
-
aux_clean_dataframe_cols
-
aux_format_whatsapp_number
-
aux_get_company_deals
- aux_geoloc
- aux_get_bots_deals
- aux_get_company_deals
- aux_get_tenant_bots
You can use the following command to import a single function
Or this command to import all functions related to desk
5. Tickets
Tickets contains the functions that refine tickets related data
Functions:
- tickets_bots_filter
You can use the following command to import a single function
Or this command to import all functions related to tickets
Send (send)
Module: send
Functions that send data to different targets, example buckets, sftp, etc.
1. Blob
Functions:
-
write_dataframe_as_excel
-
write_dataframe_as_csv
-
write_dataframe_as_parquet
-
write_dataframe_as_json
You can use the following command to import a single function
Or this command to import all functions related to desk
2. Bucket
Functions:
-
write_to_s3_bucket
-
write_to_gcp_bucket
You can use the following command to import a single function
Or this command to import all functions related to desk
3. Email
Functions:
-
send_email_general
-
send_mail
-
send_csv_mail
-
email_files_generator
-
send_mult_csv_mail
-
send_text_mail
-
send_xlsx_mail
You can use the following command to import a single function
Or this command to import all functions related to desk
4. SFTP
Functions:
- sftp_put_file
You can use the following command to import a single function
Or this command to import all functions related to desk
Widgets (widgets)
Module: widgets
Functions related to notebook widgets. Implements the following functions:
Functions:
-
register_report_intent
-
update_report_intent
-
create_date_widgets
-
get_date_widgets
-
create_adf_widgets
-
get_adf_widgets
-
create_adf_waba_widgets
-
get_adf_waba_widgets
-
create_base_take_widgets
-
get_base_take_widgets
You can use the following command to import a single function
Or this command to import all functions related to desk
Small talks (smalltalks)
Module: smalltalks
Implements the following functions:
Functions:
- smalltalks_dataframe_batch