openkfw / mapme.protectedareas

Reproducible workflows in R for processing open geodata to create knowledge about KfW supported protected areas and conservation effectiveness.
GNU General Public License v3.0
3 stars 0 forks source link

Treated polygons without corresponding WDPA-ID or BMZ-Nr in matched panels #75

Closed yotaae closed 2 years ago

yotaae commented 2 years ago

I have noticed that our matched panels contain 259 treated polygons (treat_ever == 1) without a corresponding WDPA-ID or a BMZ-No. Treated polygons with disbursements should at least have a corresponding BMZ-No.

An example: In the matched panel for year 2006, the polygon with poly_id "id_1301" is assigned treat_ever==1, disbursements start in year 2006. However, there is no corresponding BMZ-No or WDPA-ID.

I came across this issue when trying to merge the matched panels with project data and wdpa variables. We should look into this in one of our sessions @Jo-Schie @melvinhlwong

Jo-Schie commented 2 years ago

@yotaae : can you check whether there is another column that is only called "id" and whether you can find these values inside:

image

If so it is a problem from our side. If not it is probably a problem from Melvin.

yotaae commented 2 years ago

@Jo-Schie: I have just checked this and there is a column called "id" but I can't find the above values. In fact, all the polygons which are missing BMZ-No and WDPA-ID have missing values in the "id" column.

Jo-Schie commented 2 years ago

I thin we need @melvinhlwong to look into this since he created the treat ever variable...

Jo-Schie commented 2 years ago

I thin we can close this issue which was fixed by importing differently the cabs that had interpreted wrongly the column type of the ids