Import your first query.
Using the data.world package, import your first query:
Choose your dataset and retrieve your SQL or SPARQL query.
Note
The below query includes specific query parameters. You can also simplify your query by using
SELECT * FROM DataDotWorldBBallTeam
intro_ds <- "https://data.world/jonloyens/an-intro-to-dataworld-dataset" sample_query <- data.world::qry_sql(paste0( "SELECT t.Name, t.Height, s.AssistsPerGame ", "FROM DataDotWorldBBallTeam as t ", "JOIN DataDotWorldBBallStats as s ON t.Name = s.Name ", "ORDER BY s.AssistsPerGame DESC")) data.world::query(sample_query, dataset = intro_ds)
Use the available functions to begin modeling your data.