Hi,
I need to create a SAS Map of USA using SAS Graphs(Proc
Gmap).The data i have dosent contain any co-ordinates of USA
cities or counties or states, and the zip codes are
diffrent in the data i have from the zip code in the
Maps.US dataset in the Maps Library for SAS MAPS.
the data i have is a sales report. i have to generate the
maps according to the states,cities aligned in the sales
data, HELP Appriciated
Answer Posted / santosh.pat69
I have used teh following syntax
Proc gmap
data=xxxx
maps=maps.us;
id zip;
choro zip/NOlegend;
quit;
here i have used Zip instead of state.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Describe the ways in which you can create macro variables? : sas-macro
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
: and & modifiers.
How would you identify a macro variable? : sas-macro
What is the difference between using drop = data set option in data statement and set statement?
Hello, I have PROC SQLs results group by 3 fields and I use SUM and COUNT functions in SQL. The problem is when I try to display my result with PROC TABULATE. I am getting very big numbers. I believe I make a mistake some where in Tabulate. Here is my Proc Tabulate. PROC TABULATE DATA=OUT04_05 FORMAT=12.; CLASS YR CENTRE VISA / PRELOADFMT EXCLUSIVE; VAR NEWUSER FRAUD TRANSFER AUTUSER REISSUE; TABLE CENTRE ALL, (YR ALL)*VISA, (NEWUSER*F=COMMA12. AUTUSER*F=COMMA12. FRAUD*F=COMMA12. TRANSFER*F=COMMA12. REISSUE*F=COMMA12.) / MISSTEXT={LABEL='0'} PRINTMISS RTS=20; FORMAT VISA VISAFMT.; KEYLABEL SUM = ' ' ALL = 'TOTAL'; LABEL YR = 'DATE YEAR' NEWUSER = 'TOTAL NEW ACCT' TRANSFER = 'TOTAL TRANSFER' FRAUD = 'TOTAL FRAUD TRANSFER' AUTUSER = 'TOTAL AUTH USERS' REISSUE = 'TOTAL REISSUE'; When I code it like : NEWUSER*N*F=COMMA12. AUTUSER*N*F=COMMA12. I get same amount numbers but to find a NEWUSER I use COUNT(*) and to find AUTUSER I use SUM(xxxx) function so both result shouldn’t be the same my problem is in this point. Could you tell me where the problem in code is. How can I display my result? TX.
What are pdv and it functions?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
which features do you use to check the data validations and errors? : Sas-administrator
explain the use of % includes a statement in sas? : Sas-administrator
What is by-group processing?
what is sas and what are the functions? : Sas-administrator
Mention few capabilities of sas framework.
why a stop statement is needed for the point= option on a set statement?
what can you learn from the sas log when debugging? : Sas programming