If you haven't imported the two files, you can run the code below to import them again.
Remember: you must specify the unique location path of the Geomarketing folder in the code:
*Example: %let path = /home/kisumsam/Geomarketing ;
%let path = <folder location path>;
%macro import ();
OPTIONS VALIDVARNAME=V7;
proc import datafile = "&path/Test File.csv"
out = test
dbms = CSV
replace
;
run;
proc import datafile = "&path/sales_q1.csv"
out = Sales_Q1
dbms = CSV
replace
;
run;
proc import datafile = "&path/Locations.csv"
out = locations
dbms = CSV
replace
;
run;
proc import datafile = "&path/postcode.csv"
out = postcode
dbms = CSV
replace
;
run;
filename postcode "&path/open_postcode_geo.csv";
data all_postcode (keep=postcode os_x os_y);
infile postcode dsd firstobs=2;
input postcode : $8.
col1 : $10.
col2 : $5.
os_x os_y
col3
area : $8.;
if area = "England" and os_x^=.;
run;
proc import datafile = "&path/computers.csv"
out = computers
dbms = CSV
replace
;
run;
%mend;
%import();
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |