Error in translate_sql_

I am using the rEHR package available on GitHub for elecronic healthcare records with this code:

first_MU <-first_events(all_case_data,tab="Observation",
where="medcode %in% .(mu_codes$medcode)")

I think the 'where' argument is equivalent to the WHERE clause in SQL, in that it is used to select subsets of the data table.

However when running the above code, I get this error message:

Error in translate_sql_(expand_string(where)) : is.list(dots) is not TRUE

Could anyone explain to me what this means?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.