Open devilgate opened 5 years ago
This has been added as a separate model (pooledAnalysis) entitled "Individual site and pooled analysis (1 or more groups of sites). Groups are defined from a categorisation variable in the shapefile or from regional area identifiers or from a field in the shapefile".
I propose to add a "Multi Site Risk Stratification" dropdown which is only available if:
The choices of stratification type are one of:
SAHSULAND example showing choices:
Changes required to the front end:
"studySelectedAreas": [
{
"straficiation": "01.002",
"nearestRifShapePolyId": "RIFPOLY_4",
"id": "01.002.001500.6",
"gid": "01.002.001500.6",
"label": "01.002.001500.6",
"centroid": {
"lat": 54.9747,
"lng": -6.59188
},
"distanceFromNearestSource": 24710.2,
"intersectCount": 1,
"shapeIdList": {
"RIFPOLY_4": {
"id": "01.002.001500.6",
"band": 2,
"rifShapeId": "RIF_2",
"rifShapePolyId": "RIFPOLY_4",
"distanceFromNearestSource": 24710.2,
"centroid": {
"lat": 54.85000264919724,
"lng": -6.271886401793655
},
"radius": "25000"
}
},
"band": 2
}
,...
Changes to the database:
Stratification value. Multi Site Risk Stratification: NONE, <rifshapepolyid: poygon identifier for band 1> or <geolevel code: usually a regional code> or <field from shapefile DBF>; risk analysis only.
;/* Postgres/SQL Server */
Changes to middleware and R:
If I understood Paul's comment yesterday, the comparison around point sources should be with the local area, not the country as a whole.
Peter's comment copied from #129 when that was closed as a duplicate:
Currently the RIF analyses there in N bands with all the sites as on. It is proposed to extend the RIF to support: