Displaying 2 results from an estimated 2 matches for "proj_id".
Did you mean:
prod_id
2013 Feb 12
2
match a complete data.frame
hello togehter,
how can i match a complete data.frame to another one?
I know i can match one column with that code:
A<-match(data$PJ_ID,project$PROJ_ID)
data$Name<-proj$Name[A]
but how can i match the total data.frame from project to data?
indivduel matching for each column is not very productive....
Thanks.
Mat
--
View this message in context: http://r.789695.n4.nabble.com/match-a-complete-data-frame-tp4658250.html
Sent from the R help m...
2006 Jan 06
1
has_many with :finder_sql question
hi all,
I have a Class, Client, which has_many projects (Project class). the
projects depend on a session_id variable, however. So the question
is, how can I do the following:
has_many :projects,
:finder_sql => "SELECT p.* FROM projects p INNER JOIN
projects_users pu ON pu.project_id = p.id WHERE pu.user_id =
#{session[:user_id]}"
The problem is that I need to filter a