Hands On Lab
MODULE I: DATA INGESTION
COVID-19 Dataset
MODULE 1:
Data Ingestion with Azure Data Factory
Pre-requisites:
-
Azure subscription with Azure Data Factory Instance
-
Completed Objective 1 of Module 1: Creating a pipeline to copy country code dataset to the Azure Data Lake
- Create a new pipeline through selecting the plus (+) button and click on pipeline
- In the general tab, specify the pipeline name i.e. Covid Latest Pipe. You will see the name of your pipeline appear on the left hand panel under Factory Resources.
- Next, click on the move and transform section and drag the ‘copy data’ function and rename it to be ‘CovidDataCopy’ in the General panel.
- The dataset we will be working with for this module can be found here: https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_daily_reports
- Next up, we are going to create a new source. Click on the source tab and select the (+) button to add a new dataset.
- On the New Dataset panel on the right hand side, select ‘HTTP’ and click continue.
- Given our raw data from Github is in a csv file click the DelimitedText option and click Continue.
- In the Set Properties panel rename the file to ‘CovidDataSource’.
-
Under the Linked Service heading click ‘new’.
-
Name the linked service to ‘HTTPServerReferenceLinkedService’
-
Copy the base URL of the raw Github csv file as shown below (https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/)
-
Set authentication to Anonymous
- Click Test connection to verify that the connection is successful.
-
Click Create.
-
Click OK.
-
Click Open Source dataset
-
To ensure we pull the data with the latest date we must set a parameter. Navigate to the Parameters tab and click new.
-
Input ‘FileDate’ in the name field.
- Navigate to the Connection tab. Under the Relative URL field click on add dynamic content, as we want to ensure we always pull the latest COVID-19 data.
-
What we want to do here is get the FileDate as a csv. Input the following in the add dynamic content field:

-
Click Finish
-
Return back to your actual pipeline to test that our parameters work. Input a file date to test, and click on Preview data.
-
Next up, we have to define the data lake that we want to copy this data to. Navigate to the Sink tab and click new.
-
Select Azure Data Lake Storage Gen 2
- Select Delimited Text
- Input ‘CovidLatest’ in the name field
-
Select new linked service
-
Input fields as shown below:
Name: ADLSLSReference
Azure subscription: MTC Sydney Azure
Storage account name: stcovidhackoutputprod
- Click test connection.
- Next, to set a file path click browse
- Click on data and then select inputs
-
Click OK.
-
Click Validate All
-
If all the validations are correct, click Publish All
-
Next, click add trigger
-
Click Trigger now to trigger the pipeline straight away.
-
To check how the pipeline is running, go to the monitor step in Azure Data Factory.






















