Prepare your JSON configuration file to gather all this information. Refer to this page to learn about all its parameters.
Determine how to launch your Tables to Tables data operation: either use the schedule_interval parameter in the JSON configuration file, and/or create a Workflow configuration file that will define how to trigger it.
Access your working folder by running the following command:
cd "[path to your working folder]"
To deploy the data operation, run the following command:
tailer deploy your-file.json
Log in to Tailer Studio to check the status and details of your data operation.
For your workflow to be executed, you either need to run the data operation corresponding to the previous step of your data pipeline (per your Workflow configuration file), or to launch it manually from Tailer Studio.
Access your output table(s) in BigQuery to check the result of the data operation.
💡Modify scripts for other use cases
The subject taken with the Iowa dataset aggregates all sales from a year at each iteration to account for new sales by the week. Here are some examples to better address a need or use case:
Proceed to a daily aggregation with a daily CRON trigger after receiving the sales file (applicable by the week, month or quarter)
Modify the script to calculate only the current week and avoid calculating old dates
Link the output data table to a datastudio visualization