Features: |
MAP= required argument referring to traditional map data DATA= required argument referring to response data ID statement FORMAT statement
|
Other features: |
SAS DATA step with assignment statements |
Data sets: | MAPS.AFRICA (map data)
SASHELP.DEMOGRAPHICS (response data) |
Sample library member: | GMPMIDPT |
goptions reset=all border;
title1 "Adult Literacy Rate";
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; format adultliteracypct percentn7.2; prism adultliteracypct / midpoints=.1 to .9 by .2 cdefault=yellow; run; quit;
data africa; set maps.africa; by id segment; if first.id then lake=0; if x=. then lake+1; retain lake; run;