Employment Rate, Aged 15-64, Females
/*----------------------------------------------------------------
SAS SAMPLE LIBRARY
Name: oecdex02.sas
Description: Example program from SAS/ETS User's Guide,
The SASEOECD Interface Engine
Title: Employment Rate, Aged 15-64, Females
Product: SAS/ETS Software
Keys: OECD data retrieval
Procs: SASEOECD
Notes:
libname oecd saseoecd "%sysget(OECD_DATA)"
SETID=STLABOUR
OUT=STLAB
INSET0=keylist0
INSET1=keylist1
INSET2=keylist2
INSET3=keylist3
START='2014-Q3'
END='2017-Q3'
;
----------------------------------------------------------------*/
options validvarname=any
sslcalistloc="<physical path and file name to specify your security certificates>";
data keylist0;
length key0 $3;
key0='AUS'; output; /* country is Australia */
run;
data keylist1;
length key1 $8;
key1='LREM64FE'; output; /* subject is employment rate */
run;
data keylist2;
length key2 $8;
key2='STSA'; output; /* measure is level, rate, or quantity series, s.a. */
run;
data keylist3; /* quarterly data */
length key3 $1;
key3='Q'; output;
run;
title 'Request LREM64FE for AUS in STSA, Quarterly Data';
libname _all_ clear;
LIBNAME myLib saseoecd "physical path to your folder for storing the OECD data"
setid=STLABOUR
inset0=keylist0
inset1=keylist1
inset2=keylist2
inset3=keylist3
start='2014-Q3'
end='2017-Q3'
;
data mylab;
set myLib.stlab;
run;
proc print data=mylab; run;