Warning: Creating default object from empty value in /home3/science4/public_html/rconvert.com/Convert_SAS_To_R_Statistical_Data/wp-content/themes/optimize/functions/admin-hooks.php on line 160

Have you ever wanted to read data directly from a web site without needing to download it to an intermediate file for import.  Below are approaches that may be used to read data directly from a URL.


handle <- url("http://datasite.com")
dta <- readLines(handle)


filename handle url 'http://datasite.com';
proc import datafile=handle out=dta;

Leave a Reply

8 − two =