Skip to content

Instantly share code, notes, and snippets.

View rpardee's full-sized avatar

Roy Pardee rpardee

View GitHub Profile
screen mode id:i:2
use multimon:i:0
desktopwidth:i:1600
desktopheight:i:1200
session bpp:i:32
winposstr:s:0,1,0,0,1538,718
compression:i:1
keyboardhook:i:2
audiocapturemode:i:0
videoplaybackmode:i:1
* Gimme 10 records of a random var. ;
data fake_data ;
do cnt = 1 to 10 ;
randy = uniform(7376) ;
output ;
end ;
keep randy ;
run ;
proc sort data = fake_data ;
* Translate service centers to facility codes. Translations change over time. ;
data svc_facs ;
input
@1 svcctr $char3.
@7 ctreffdt date9.
@19 ctrtrmdt date9.
@31 facility_code $char3.
;
format ctr: mmddyy10. ;
datalines ;
@rpardee
rpardee / values.js
Last active November 21, 2020 20:52 — forked from lennymd/values.js
var outcomes_health ;
function filter_down(indata) {
const cols = indata.columns;
let values = {};
indata.columns.forEach(col => (values[col] = d3.map(indata, d => d[col]).keys()));
outcomes_health = values['health_outcomes'] ;
}
async function get_values() {