search for: cvd_icd

Displaying 1 result from an estimated 1 matches for "cvd_icd".

Did you mean: cmd_id
2012 Jan 10
1
Extracting Data from SQL Server
Hi, I am new to R (and rusty on SQL!) and I'm trying to extract records from a SQL server database. I have a table of patient records (LoadPUS) which have three code columns which i want to evaluate against a list of particular codes (CVD_ICD$ table). Given the size of the patient table I want to restrict the data I pull into R to the data I only want to analyse so I am using SQL to do this. The code i have is as follows: library(RODBC) channel<-odbcConnect("NatCollections") query<-"SELECT UNIQUE_ID, diag01 from Lo...