1406.0.55.002 - User Manual: ABS Remote Access Data Laboratory (RADL), Mar 2006  
Latest ISSUE Released at 11:30 AM (CANBERRA TIME) 22/02/2012  Reissue
   Page tools: Print Print Page Print all pages in this productPrint All RSS Feed RSS Bookmark and Share Search this Product  
Contents >> Submitting a request in the RADL >> How to reference the CURF in your code


Referencing a CURF in your code
When submitting a job users are required to select the CURF(s) which will be accessed by that job. The RADL system requires that you reference each dataset (level) of the CURF that you want to use. The following is an example for the General Social Survey 2010 Expanded CURF:

LanguageCode example for referencing CURFFurther information
A 'libref' will be assigned by the RADL to the SAS datasets. The libref can be used by clients to reference the datasets, so SAS similar commands can be used in your RADL code. The SAS database also contains a 'format' catalogue which contains formats which have been applied to the variables in the datasets. This formats library will be automatically assigned by the RADL for any code using this CURF.
Statause "`GSS10EP'"
use "`GSS10ESD'"
Macro variables containing the path names to the CURFs are automatically generated in the RADL.
When using these references take care to use the correct characters for the single quotes.
A 'file handle' will be assigned by the RADL to the SPSS datasets. These file handles can be used by clients to reference the datasets, so SPSS syntax similar to the example can be used in your RADL code.

For the complete set of file references see the 'CURF reference documentation' link in the navigator of the RADL.

In order to maintain the integrity of the CURFs users are given read access to the CURF files - CURFs cannot be over-written. Given this restriction if you want to modify the CURF you will need to save a copy of the CURF. For more information about saving CURFs in the RADL see the How to save files to your personal workspace section of this manual.

Using more than one CURF together
It is possible to use more that one CURF together in your analysis. However, you may only merge aggregate data to unit record data, or aggregate to aggregate data between the CURFs. You must not merge unit record to unit record data across CURFs.

To merge CURFs, in the New Request screen, select more than one CURF in the Microdata window by holding down the Control button on your keyboard. You will also need to reference both CURFs in your code. Alternatively your code can reference a saved dataset from one CURF and reference another CURF that you have selected in the Microdata window.

There are certain CURFs that cannot be used together. These CURFs are provided to users under a separate user ID so that they cannot be combined. These additional user IDs will end with "_INNOV", "_STATE", "_DETAIL", or "_REM".

Previous PageNext Page