Displaying 3 results from an estimated 3 matches for "reference_id".
2012 Sep 06
4
Why the error is coming, can anyone help?
Hi everyone
Can anyone help?
x = c("Treatment", "Planned", "Actual", "Demographics", "Outcomes")
for (i in x) {
df <- paste(i)[, c("Reference_ID", "Arm_ID")]
unique(df) -> uniq
as.data.frame(table(uniq$Reference_ID)) -> y
i.Arms<- paste(y$Var1, y$Freq, sep="_")
Print_Message("Check for the Total No of Arms in Trial_level_info and print(i) sheet", Trial.Arms, print(i).Arms, "Trial level sheet&...
2012 Aug 14
2
Not able to filter factor, class
...cdb_cnct <- odbcConnectExcel("AZIF_DC_GVK_NSCLC_MSALL_287papers_02072012_141450_v1_4.xls")
arm <- sqlFetch(cdb_cnct, "Arm")
inclusion <- sqlFetch(cdb_cnct, "Inclusion")
odbcClose(cdb_cnct)
rm(cdb_cnct)
names(inclusion)
[1] "Trial_Design_ID" "Reference_ID" "Inclusion_Criteria"
[4] "Value" "F5" "F6"
> class(inclusion$Value)
[1] "factor"
> nrow(inclusion)
[1] 4879
> length(inclusion$Value == 0)
[1] 4879
> length(inclusion$Value == "0")
[1]...
2007 Jan 17
2
rake test and validates_inclusion_of
...ject has a reference to another model
- that reference is being validated with validates_inclusion_of
- that reference never passes validation
- they pass when i run the test script individually
So my hypothesis is that the fixture data isn''t being loaded in before
the constraints for the reference_id are being defined, but ONLY in the
rake test environment.
Does that make sense? Am I missing something obvious? Any thoughts
would be appreciated.
I''m using Rails 1.1.6 and MySQL (with no foreign key constrains in the
DB).
Thanks,
Julia
--~--~---------~--~----~------------~-------~--...