Features: |
MAP= required argument referring to traditional map data DATA= required argument referring to response data ID statement
|
Other features: |
SAS DATA step with assignment statements |
Data sets: | MAPS.AFRICA (map data)
DEMOGRAPHICS (table of response data) |
Sample library member: | GMPPRISM |
goptions reset=all border;
title1 "Population in Africa";
data africa; set maps.africa; by id segment; if first.id then lake=0; if x=. then lake+1; retain lake; run;
proc gmap data=sashelp.demographics(where=(cont=94)) map=africa(where=(lake=0)) density=low all; id id; prism pop / cdefault=yellow relzero; run; quit;
data africa; set maps.africa; by id segment; if first.id then lake=0; if x=. then lake+1; retain lake; run;