1. MPC response overview

As of 11 April 2023, a total of 448,317 persons or 90,324 families have been reached by MPC interventions. A total of USD 13.3 million has been disbursed by 17 implementing agencies across 28 sub-districts.

With only certain exceptions (such as activities specified as non-MPC cash-for-food), only beneficiaries who have received at least USD 100/family/month have been included.


448,000 people reached with MPC, USD 13.3 million disbursed, 11 April 2023

governorate

district

communities

partners

households

beneficiaries

total_usd

%_BNFb

Aleppo

A'zaz

5

7

2,994

14,578

424,067

3.25

Aleppo

Afrin

75

10

25,162

125,312

3,726,192

27.95

Aleppo

Al Bab

3

2

998

5,011

137,791

1.12

Aleppo

Jarablus

1

3

589

2,805

88,350

0.63

Aleppo

Jebel Saman

15

8

9,226

53,754

1,380,550

11.99

Idleb

Harim

38

13

43,136

204,566

6,273,250

45.63

Idleb

Idleb

17

10

5,634

28,502

879,372

6.36

Idleb

Jisr-Ash-Shugur

21

3

2,585

13,789

350,200

3.08

Total

-

-

-

90,324

448,317

13,259,772

100.00

bAs percentage of all MPC beneficiaries reached in NW Syria;


177,525 beneficiaries were reached in February 2023 and 200,330 were reached in March 2023. 52,252 have been reached so far in April 2023.

The cleaning and verification of the dataset is still ongoing, many changes in numbers of persons reached reflect this process and will only be completed once the CWG fully transitions to 4Ws reporting.



1.1 Progress by date


The small number of beneficiaries reached earlier than February all pertained to the HRP, the only such beneficiaries reported so far. The CWG would like to encourage partners to report on their January achievements.



2. Map of activities





3. Geographic breakdown of beneficiaries

Coverage continues to be highest in Afrin and Harim districts, which have been worst-hit by the earthquake.



Casualties and damaged houses, absolute figures and per 100,000 persons

governorate

district

wounded_dead1

wounded_dead_100k1

damaged_houses1

damaged_houses_100k1

Aleppo

A'zaz

356

57.87

276

44.86

Aleppo

Afrin

2,232

478.79

2,910

624.22

Aleppo

Al Bab

206

70.04

832

282.89

Aleppo

Jarablus

40

33.82

257

217.30

Aleppo

Jebel Saman

616

236.80

176

67.66

Idleb

Harim

8,449

507.65

3,230

194.07

Idleb

Idleb

350

48.23

946

130.37

Idleb

Jisr-Ash-Shugur

595

183.68

1,915

591.18

1Data from the Assistance Coordination Unit, Syria 20230328;


Below is a breakdown of beneficiaries based on whether they originate from camps or villages:


More than twice as many beneficiaries from villages as from camps

village_camps

beneficiaries

%_beneficiaries

camp

94,430

21.06

village

228,690

51.01

NA

125,197

27.93




3.1 By sub-district

The plots below show the breakdown of beneficiaries by sub-district. Caution must be taken to ensure that allocations are fair across the affected areas: there are numerous sub-districts where a very large proportion of the total population has already been reached by multi-purpose cash, in particular, Jandairis, Hairm, Salqin and Sharan.

Response activities must be proportional with the magnitude and severity of earthquake damage. Overallocation deprives affected persons of the aid they are due.

The average percentage of the population reached, of all sub-districts, is 10.63%.




3.2 Comparisons with PIN and earthquake damage

The plot below shows the total population of each sub-district on the x-axis (for the moment, all persons in these areas are assumed to be affected and are included in the PIN) and the number of beneficiaries on the y-axis.

The size of each point indicates the number of dead or wounded persons there per 100,000.



The higher or lower a sub-district is above the blue line, the more disproportionate the number of beneficiaries allocated to that location are.

This should also be compared to each sub-district’s share of the earthquake damage. Of particular note, sub-districts in grey have yet to receive any MPC assistance.



The CWG is currently working on a prioritisation score, which can be a useful shorthand, that will take into account pre-existing vulnerability (likely from the MSNA) as well as earthquake impacts.



3.3 Planned activities


12 partners have reported planned activities

project_status

partners

beneficiaries

%_beneficiaries

Completed

17

448,317

88.22

Planned

12

59,884

11.78

Suspended

1

0

0.00


The sum of planned beneficiaries is 59,884. If this is the extent of all planned MPC activities, the CWG as a whole can expect to reach around 77% of its target of 662,942 persons.


Planned beneficiaries by month

month1

beneficiaries

Apr

43,243

Jun

3,600

May

188

NA

12,853

1Some dates are missing or improperly encoded;




4. Cash response actors and cash disbursed

USD 13.3 million has been distributed across 174 communities and 28 sub-districts in NW Syria.


Reach and footprint of cash response actors

implementing_partner1

beneficiaries

districts

communities

International Rescue Committee (IRC)

67,989

3

20

People in Need (PIN)

36,144

3

25

GOAL (GOAL)

34,310

3

70

Shafak Organization (SO)

33,115

5

15

Norwegian Refugee Council (NRC)

20,900

2

5

Mercy-USA for Aid and Development (MUSA)

14,197

5

27

Mercy Without Limits

13,016

4

10

Bahar Organization (BO)

12,000

1

1

CBRTWG-031

10,481

7

28

Uluslararasi Insani Yardimlasma Dernegi (IYD)

10,351

4

16

Syria Relief

9,750

5

7

Ihsan for Relief and Development

8,655

5

16

World Vision International (WVI)

7,008

1

4

Welthungerhilfe (WHH)

4,830

4

4

Ataa Humanitarian Relief Association (ATAA)

3,060

1

2

MASRRAT

2,692

3

3

Elaf for relief and development

1,750

1

1

1Only partners who provided more than USD 100/family/month;


In the scatterplot below, each point is a single cash working group partner. The x-axis indicates the number of beneficiaries reached per agency and the y-axis indicates the number of communities (admin4) reached. Mouse over each point for more details.




4.1 USD disbursed per partner


USD disbursed and families reached by partner

implementing_partner

total_usd

families

usd_per_fam

%_usd_total

GOAL (GOAL)

2,998,650

19,991

150.00

22.61

International Rescue Committee (IRC)

1,773,750

11,825

150.00

13.38

Shafak Organization (SO)

1,590,100

11,287

140.88

11.99

Norwegian Refugee Council (NRC)

1,266,450

8,443

150.00

9.55

People in Need (PIN)

927,450

6,183

150.00

6.99

Ihsan for Relief and Development

854,250

5,695

150.00

6.44

Syria Relief

724,500

4,830

150.00

5.46

CBRTWG-031

515,350

3,373

152.79

3.89

Mercy Without Limits

438,372

3,325

131.84

3.31

Mercy-USA for Aid and Development (MUSA)

409,800

4,098

100.00

3.09

Uluslararasi Insani Yardimlasma Dernegi (IYD)

375,000

2,500

150.00

2.83

Bahar Organization (BO)

360,000

2,400

150.00

2.71

Welthungerhilfe (WHH)

344,400

2,296

150.00

2.60

World Vision International (WVI)

301,200

2,008

150.00

2.27

Ataa Humanitarian Relief Association (ATAA)

177,000

1,180

150.00

1.33

Elaf for relief and development

122,500

350

350.00

0.92

MASRRAT

81,000

540

150.00

0.61


The CWG is currently working with other Clusters to consolidate all cash-based activities and will soon be able to provide more comprehensive reporting.




5. Annexes


5.1 Interactive reference table at sub-district level

Columns include: governorate, district, sub-district, total population, beneficiaries, total usd disbursed, wounded and dead, wounded and dead per 100k, damaged houses, damaged houses per 100k, admin3pcode



5.2 Reporting quality

This section documents issues encountered in the cleaning of 4W and FSL data and their impacts on the quality of reporting the CWG can provide. The recommendations by the CWG are included to enhance reporting quality:

  1. The CWG has shifted into a new 4Ws template for biweekly reporting to better capture the earthquake response. Deadlines are set on the 10th and the 25th of each month. 8 partners reported achievements in February and 10 reported achievements in March. The CWG encourages all partners to submit include their January achievements in the 4Ws. If no MPC activities were implemented, please inform the CWG as well.

  2. For this reporting period, activities pertaining to 16,460 beneficiaries were missing their dates or had dates in unreadable formats. Please ensure that the start date and end date are entered in the format mm/dd/yyyy and select the month of reporting from the options in the dropdown menu.

  3. For sex-and-age disggregations, please do not backfill these columns using calculations based on the census or the MSNA. If no disaggregated data is available to your organisation, please leave these columns blank.

LS0tDQp0aXRsZTogIk5vcnRod2VzdCBTeXJpYSBDYXNoIFdvcmtpbmcgR3JvdXAgRWFydGhxdWFrZSBSZXNwb25zZSBCdWxsZXRpbiINCmRhdGU6ICAiYHIgZm9ybWF0KFN5cy50aW1lKCksICclZCAlQiwgJVknKWAiDQpvdXRwdXQ6DQogIGh0bWxfZG9jdW1lbnQ6DQogICAgY29kZV9kb3dubG9hZDogeWVzDQogICAgdGhlbWU6IHJlYWRhYmxlDQogICAgdG9jOiB5ZXMNCiAgICB0b2NfZGVwdGg6IDQNCiAgICB0b2NfZmxvYXQ6IHllcw0KICAgIG51bWJlcl9zZWN0aW9uczogbm8NCiAgICBjb2xsYXBzZWQ6IG5vDQphbHdheXNfYWxsb3dfaHRtbDogeWVzDQotLS0NCg0KYGBge2NzcywgZWNobz1GQUxTRX0NCg0KI1RPQzo6YmVmb3JlIHsNCiAgY29udGVudDogIiI7DQogIGRpc3BsYXk6IGJsb2NrOw0KICBoZWlnaHQ6IDcwcHg7DQogIG1hcmdpbjogMmVtIDIwcHggNDBweCAyMHB4Ow0KICBiYWNrZ3JvdW5kLWltYWdlOiB1cmwoIk5XUy1DV0c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zdWJfZGlzdHJpY3QsICJcbiIsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImNvbW11bml0eTogIiwgY29tbXVuaXR5LCAiXG4iLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJsb2NhdGlvbl90eXBlOiAiLCB2aWxsYWdlX2NhbXBzLCAiXG4iLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJiZW5lZmljaWFyaWVzOiIsIGZvcm1hdChiZW5lZmljaWFyaWVzLCBiaWcubWFyayA9ICIsIiksICJcbiIsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInBhcnRuZXI6ICIsIGFiYnJldmlhdGlvbiwgIlxuIiwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImxvbl94OiAiLCBsb25naXR1ZGVfeCwgIlxuIiwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAibGF0X3k6ICIsIGxhdGl0dWRlX3kpKSwgDQogICAgICAgICAgICAgc2hhcGUgPSAyMSwgc3Ryb2tlID0gLjM1LCANCiAgICAgICAgICAgICBhbHBoYSA9IC41KSArIA0KICBzY2FsZV9zaXplX2NvbnRpbnVvdXMobGFiZWxzID0gY29tbWEpICsgDQogIHNjYWxlX2NvbG91cl92aXJpZGlzX2QobmEudHJhbnNsYXRlID0gRkFMU0UpICsgDQogIHRoZW1lX3ZvaWQoKSArIA0KICB0aGVtZShwbG90LmJhY2tncm91bmQgPSBlbGVtZW50X3JlY3QoZmlsbCA9ICJ3aGl0ZSIsIGNvbG91ciA9IE5BKSwgDQogICAgICAgIHBsb3QuY2FwdGlvbiA9IGVsZW1lbnRfdGV4dChoanVzdCA9IDAuNSksKSArDQogIGxhYnModGl0bGUgPSAiQ29tbXVuaXRpZXMgcmVhY2hlZCBhbmQgcGxhbm5lZCAtLSBDV0cgcGFydG5lcnMiLCANCiAgICAgICBzdWJ0aXRsZSA9ICJQbGFubmVkIGluIHllbGxvdywgY29tcGxldGVkIGluIHB1cnB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dHJpY3QgPSBhZG1pbjJuYW1lX2VuKSAlPiUgDQogIHN1bW1hcmlzZSh0b3RhbF9wb3B1bGF0aW9uID0gc3VtKHRvdGFsX3BvcHVsYXRpb24sIG5hLnJtID0gVFJVRSksIA0KICAgICAgICAgICAgLmdyb3VwcyA9ICJkcm9wIikgJT4lIA0KICBsZWZ0X2pvaW4oDQogICAgY2JyICU+JQ0KICAgICAgZmlsdGVyKHByb2plY3Rfc3RhdHVzID09ICJDb21wbGV0ZWQiKSAlPiUgIA0KICAgICAgZ3JvdXBfYnkoZGlzdHJpY3QpICU+JSANCiAgICAgIHN1bW1hcmlzZShiZW5lZmljaWFyaWVzID0gc3VtKGJlbmVmaWNpYXJpZXMsIG5hLnJtID0gVFJVRSkpICwgIA0KICBieSA9ICJkaXN0cmljdCIpICU+JSANCiAgbXV0YXRlKGRpc3RyaWN0ID0gZmN0X3JlbGV2ZWwoZGlzdHJpY3QsIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiQWwgQmFiIiwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJKYXJhYmx1cyIsIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiQSd6YXoiLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkplYmVsIFNhbWFuIiwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJBZnJpbiIsIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiSmlzci1Bc2gtU2h1Z3VyIiwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJJZGxlYiIsIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiSGFyaW0iKSwNCiAgICAgICAgIHBjX3JlYWNoZWQgPSByb3VuZChiZW5lZmljaWFyaWVzIC8gdG90YWxfcG9wdWxhdGlvbiAqIDEwMCwgZGlnaXRzID0gMSkpICU+JSANCiAgZ2dwbG90KGFlcyh4ID0gcGNfcmVhY2hlZCwgeS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AgIGZpbHRlcihhZG1pbjNwY29kZSAlaW4lIG53X3Bjb2RlMyAmDQogICAgICAgICAgICAgICAgICAgICAgIGFkbWluMm5hbWVfZW4gJWluJSBjKCJIYXJpbSIsICJJZGxlYiIsICJKaXNyLUFzaC1TaHVndXIiLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkFmcmluIiwgIkplYmVsIFNhbWFuIiwgIkEnemF6IiwgIkphcmFibHVzIiwgIkFsIEJhYiIpKSAlPiUNCiAgICAgICAgICAgICAgZ3JvdXBfYnkoYWRtaW4zcGNvZGUpICU+JQ0KICAgICAgICAgICAgICBzdW1tYXJpc2UocG9wdWxhdGlvbiA9IHN1bSh0b3RhbF9wb3B1bGF0aW9uLCBuYS5ybSA9IFRSVUUpKSwgDQogICAgICAgICAgICBieSA9ICJhZG1pbjNwY29kZSIpICU+JSANCiAgbXV0YXRlKHdvdW5kZWRfZGVhZF8xMDBrID0gcm91bmQod291bmRlZF9kZWFkIC8gcG9wdWxhdGlvbiAqIDEwMDAwMCwgZGlnaXRzID0gMiksIA0KICAgICAgICAgZGFtYWdlZF9ob3VzZXNfMTAwayA9IHJvdW5kKGRhbWFnZWRfaG91c2VzIC8gcG9wdWxhdGlvbiAqIDEwMDAwMCwgZGlnaXRzID0gMikpICU+JSANCiAgICBsZWZ0X2pvaW4oY2JyICU+JSANCiAgICAgICAgICAgICAgICBmaWx0ZXIocHJvamVjdF9zdGF0dXMgPT0gIkNvbXBsZXRlZCIpICU+JSANCiAgICAgICAgICAgICAgICBncm91cF9ieShhZG1pbjNwY29kZSkgJT4lIA0KICAgICAgICAgICAgICAgIHN1bW1hcmlzZShiZW5lZmljaWFyaWVzID0gc3VtKGJlbmVmaWNpYXJpZXMsIG5hLnJtID0gVFJVRSkpLCANCiAgICAgICAgICAgICAgYnkgPSAiYWRtaW4zcGNvZGUiKSAlPiUgDQogIGdncGxvdChhZXMoeCA9IGRhbWFnZWRfaG91c2VzLCB5ID0gd291bmRlZF9kZWFkK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