Skip to content

Instantly share code, notes, and snippets.

@cjdinger
Created September 19, 2014 20:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cjdinger/9d49c7eeaea0e4ba6a9b to your computer and use it in GitHub Desktop.
Save cjdinger/9d49c7eeaea0e4ba6a9b to your computer and use it in GitHub Desktop.
SAS program to use the ARRPI translator to Pirate Speak
/*
This SAS program uses the ARRPI translator at:
http://isithackday.com/arrpi.php
To translate whatever English text you supply into
Pirate speak for Talk Like a Pirate Day
*/
%let text = %sysfunc(urlencode('Hello, SAS users are the best'));
filename resp TEMP;
proc http
url="http://isithackday.com/arrpi.php?text=&text."
method='GET'
out=resp;
run;
data _null_;
infile resp dsd;
length line $ 1000;
input line ;
put line;
run;
/* output:
Avast, SAS users be ye best
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment