You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by lgraham333 February 1, 2022
According to the Redivis documentation's (linked here) second example for R code states in the code comments
"We don't need to include fully-qualified table names if we scope our query to the appropriate dataset or project".
When I run the given example code in R ... data <- ( redivis::organization("Demo") $dataset("CMS 2014 Medicare Data") $query(" SELECT provider_name, average_total_payments FROM nursing_facilities INNER JOIN outpatient_charges USING (provider_id) WHERE state = 'CA' ") $to_tibble() )
I get the error ...
Error in make_request(method = "POST", path = "/queries", payload = payload) : Cannot look up unqualified table (nursing_facilities). Must be of the form "owner_name.project|dataset_name.table_name". Or perhaps you meant to set a default project?
Can someone help explain what is going on? (The other examples work from this webpage when I run them in R.)
Thank you!
The text was updated successfully, but these errors were encountered:
Discussed in redivis/meta#185
Originally posted by lgraham333 February 1, 2022
According to the Redivis documentation's (linked here) second example for R code states in the code comments
"We don't need to include fully-qualified table names if we scope our query to the appropriate dataset or project".
When I run the given example code in R ...
data <- ( redivis::organization("Demo") $dataset("CMS 2014 Medicare Data") $query(" SELECT provider_name, average_total_payments FROM nursing_facilities INNER JOIN outpatient_charges USING (provider_id) WHERE state = 'CA' ") $to_tibble() )
I get the error ...
Error in make_request(method = "POST", path = "/queries", payload = payload) : Cannot look up unqualified table (nursing_facilities). Must be of the form "owner_name.project|dataset_name.table_name". Or perhaps you meant to set a default project?
Can someone help explain what is going on? (The other examples work from this webpage when I run them in R.)
Thank you!
The text was updated successfully, but these errors were encountered: