-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Great to have a "how to create random sample points on maps using R" section in the GIS basics in the next round #83
Comments
|
Code to do PPS at block/sector level in a camp and to export the points as .gpx
|
@AlexandreBlake this too! |
I saw this one too. But I need to play with Pat's data to see exactly what it does. Because I see no point cleaning, I would assume that the sampling is just about the 1st stage of the sampling. If it is the case, I am not sure the GIS strategy is competitive enough compared to the "usual" approach. Again: I need to run it. |
Do you mean doing it in ArcGIS/QGIS? Can you elaborate more on what would be included in point cleaning? I don't think there is any manipulation of the selected points that can be done in R. I'll email you the files so you can have a look. There isn't anything confidential in them. |
Hey Pat! I have a chunk doing that: it uses a while loop to show the points 1 by 1 on a tile with a radius around it. The trouble is that it used to be simpler to get tiles out of Google map. Now there needs to be an account to get an API and there is a limit to how many tiles a day you can download for free. Here is an old chunk assisting in the cleaning. It probably needs some updating and polishing it draws the points and does the cleaning through R directly but it works better if the polygon has been massaged first to exclude as much empty space as possible (on Google Earth/QGIS). geo_sampler <- function(polygon=pap,radius=10){
} |
Interesting. But how does this go to epidemiology? It looks very advanced. |
agree the code can (and should) be simplified but its important epidemiological concepts to include for implementing surveys with appropriate designs and sampling |
As above
The text was updated successfully, but these errors were encountered: