Azure Data Storage

Prakash AgrawalPrakash Agrawal
8 min read

A. Create an Azure Data Storage resource and upload the input CSV files

In this task, we will create an Azure Data Storage account to store the input data files (CSVs) received from the hospitals. Name the container "hospitaldata" and upload the CSV files having data like below.

hospital_info.csv

hospital_idhospital_namehospital_leader_name
1ABC Health CenterDr. Akash Agarwal
2DEF City MedicalDr. Manish Joshi
3GHI Hospital of San FranciscoDr. Angela Rico
4JKL Hospital in New YorkDr. James Becker
5MNO HospitalDr. Amitabh Arun

wait_times.csv

hospital_idpatient_idprocedure_idwait_time
33824
549488
1241024
530258
57885
217496
238160
444875
340109
322855
36513
424191
137590
419348
519634
117162
4228108
241561
536240
161013
144265
28277
534212
314364
12579
410168
316983
426489
449613
119978
148741
252116
241390
127627
52670
2467116
434548
2386100
358106
339632
339665
544915
1335118
5345
318110
122143
375109
29299
4425116
212756
4610101
535929
419367
23380
3231057
427511
344290
316291
437888
37714
4479102
5262117
44164
210966
119892
513416
39125
239971
419345
325425
5139105
39190
331085
3311068
42651
4121030
211556
33582
228865
416763
136103
53519
140846
117886
228387
448216
132652
433759
139935
235378
5397114
312558
525859
346956
2242101
346810
416476
320578
2242100
433932
5461115
548284
39428
126766
2289112
250254
134782
223884
1437112
350441
520134
415685
412267
45127
57997
3402101
335510
412544
330992
216398
326101
24483
54710109
332416
347667
32640
513312
125110
4371063
530438
111029
538183
33548
1244119
4266120
13562
322687
336154
2259103
510645
5412110
425358
35056
18487
5121057
523483
5451091
420436
56837
  1. Search for Storage Accounts in search bar and select the Storage Accounts

  1. Click the Create button in the top menu to set up a new Storage account.

    Fill in the required details on each setup page.

    1. For Resource group, choose the default resource group from the dropdown menu.

    2. For Storage account name, enter a relevant name, such as "healthofcitizensXX," where XX represents random numbers or characters.

    3. Select the nearest Region to your location.

    4. For Performance and Redundancy, keep the default settings of Standard and Geo-redundant, respectively.

Click the Review button to continue.

  1. Scroll down to the bottom of the page and click Create which will create the Resource

  1. After a few minutes, verify that your Storage account has been provisioned.

    Search for "Storage accounts" in the search bar and choose the Storage accounts service.

    Your Storage account should be listed. Select the Storage account you provisioned.

  1. Select Containers from the side menu

  1. Click + Container from the top menu to create a new container.

    Name the container "hospitaldata" and then click Create.

  1. Click Upload from the top menu and then choose Browse for files. Locate and select the two CSV files you had created. Click Upload to finish the process.

  2. After the upload of files, you will see the records as:

This concludes the steps required to set up Storage Account, adding container to it and then uploading files in the container. In the next blog I will write steps on setting up Azure Data Factory.

0
Subscribe to my newsletter

Read articles from Prakash Agrawal directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Prakash Agrawal
Prakash Agrawal