【发布时间】:2017-06-29 14:32:00
【问题描述】:
我一直在研究 Rstudio 上的代码:
```{r list tables}
library(data.world)
# Datasets are referenced by their URL or path
dataset_key <- "https://data.world/ryanes/liverpool-english-league-matches"
# List tables available for SQL queries
tables_qry <- data.world::qry_sql("SELECT * FROM Tables")
tables_qry
tables_df <- data.world::query(tables_qry,dataset_key)
# See what is in it
tables_df$tableName
但是当我运行这个块时,它给了我一个错误提示:
No encoding supplied: defaulting to UTF-8.
Show Traceback
Error in dwapi::sql(dataset = dataset, query = qry$query_string,
query_params = qry$params) :
请告诉我如何解决这个问题。
【问题讨论】:
标签: sql r import error-handling rstudio