1
我一直在努力的代碼上Rstudio:[R編程,導入數據
```{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) :
請讓我知道如何解決這個問題。
是的,這就是問題所在。謝謝您的幫助。 – Sneha