mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
@@ -1844,6 +1844,13 @@ Rust:
|
||||
extensions:
|
||||
- .rs
|
||||
|
||||
SAS:
|
||||
type: programming
|
||||
color: "#1E90FF"
|
||||
lexer: Text only
|
||||
extensions:
|
||||
- .sas
|
||||
|
||||
SCSS:
|
||||
type: markup
|
||||
group: CSS
|
||||
|
||||
@@ -486,6 +486,9 @@
|
||||
"Rust": [
|
||||
".rs"
|
||||
],
|
||||
"SAS": [
|
||||
".sas"
|
||||
],
|
||||
"Sass": [
|
||||
".sass",
|
||||
".scss"
|
||||
@@ -703,8 +706,8 @@
|
||||
".gemrc"
|
||||
]
|
||||
},
|
||||
"tokens_total": 609432,
|
||||
"languages_total": 740,
|
||||
"tokens_total": 609525,
|
||||
"languages_total": 742,
|
||||
"tokens": {
|
||||
"ABAP": {
|
||||
"*/**": 1,
|
||||
@@ -57432,6 +57435,53 @@
|
||||
"running_threads2": 2,
|
||||
"port2.recv": 1
|
||||
},
|
||||
"SAS": {
|
||||
"libname": 1,
|
||||
"source": 1,
|
||||
"data": 6,
|
||||
"work.working_copy": 5,
|
||||
";": 22,
|
||||
"set": 3,
|
||||
"source.original_file.sas7bdat": 1,
|
||||
"run": 6,
|
||||
"if": 2,
|
||||
"Purge": 1,
|
||||
"then": 2,
|
||||
"delete": 1,
|
||||
"ImportantVariable": 1,
|
||||
".": 1,
|
||||
"MissingFlag": 1,
|
||||
"proc": 2,
|
||||
"surveyselect": 1,
|
||||
"work.data": 1,
|
||||
"out": 2,
|
||||
"work.boot": 2,
|
||||
"method": 1,
|
||||
"urs": 1,
|
||||
"reps": 1,
|
||||
"seed": 2,
|
||||
"sampsize": 1,
|
||||
"outhits": 1,
|
||||
"samplingunit": 1,
|
||||
"Site": 1,
|
||||
"PROC": 1,
|
||||
"MI": 1,
|
||||
"work.bootmi": 2,
|
||||
"nimpute": 1,
|
||||
"round": 1,
|
||||
"By": 2,
|
||||
"Replicate": 2,
|
||||
"VAR": 1,
|
||||
"Variable1": 2,
|
||||
"Variable2": 2,
|
||||
"logistic": 1,
|
||||
"descending": 1,
|
||||
"_Imputation_": 1,
|
||||
"model": 1,
|
||||
"Outcome": 1,
|
||||
"/": 1,
|
||||
"risklimits": 1
|
||||
},
|
||||
"Sass": {
|
||||
"blue": 7,
|
||||
"#3bbfce": 2,
|
||||
@@ -65799,6 +65849,7 @@
|
||||
"RobotFramework": 483,
|
||||
"Ruby": 3862,
|
||||
"Rust": 3566,
|
||||
"SAS": 93,
|
||||
"Sass": 56,
|
||||
"Scala": 750,
|
||||
"Scaml": 4,
|
||||
@@ -65980,6 +66031,7 @@
|
||||
"RobotFramework": 3,
|
||||
"Ruby": 17,
|
||||
"Rust": 1,
|
||||
"SAS": 2,
|
||||
"Sass": 2,
|
||||
"Scala": 4,
|
||||
"Scaml": 1,
|
||||
@@ -66021,5 +66073,5 @@
|
||||
"YAML": 2,
|
||||
"Zephir": 2
|
||||
},
|
||||
"md5": "f4510eb529137f1b68e1dfc1b11b05d4"
|
||||
"md5": "6c7340160a54d81861421a839c22ab03"
|
||||
}
|
||||
17
samples/SAS/data.sas
Normal file
17
samples/SAS/data.sas
Normal file
@@ -0,0 +1,17 @@
|
||||
/* Example DATA step code for linguist */
|
||||
|
||||
libname source 'C:\path\to\file'
|
||||
|
||||
data work.working_copy;
|
||||
set source.original_file.sas7bdat;
|
||||
run;
|
||||
|
||||
data work.working_copy;
|
||||
set work.working_copy;
|
||||
if Purge = 1 then delete;
|
||||
run;
|
||||
|
||||
data work.working_copy;
|
||||
set work.working_copy;
|
||||
if ImportantVariable = . then MissingFlag = 1;
|
||||
run;
|
||||
15
samples/SAS/proc.sas
Normal file
15
samples/SAS/proc.sas
Normal file
@@ -0,0 +1,15 @@
|
||||
/* PROC examples for Linguist */
|
||||
|
||||
proc surveyselect data=work.data out=work.boot method=urs reps=20000 seed=2156 sampsize=28 outhits;
|
||||
samplingunit Site;
|
||||
run;
|
||||
|
||||
PROC MI data=work.boot out=work.bootmi nimpute=30 seed=5686 round = 1;
|
||||
By Replicate;
|
||||
VAR Variable1 Variable2;
|
||||
run;
|
||||
|
||||
proc logistic data=work.bootmi descending;
|
||||
By Replicate _Imputation_;
|
||||
model Outcome = Variable1 Variable2 / risklimits;
|
||||
run;
|
||||
Reference in New Issue
Block a user