Description Usage Arguments Value Note Examples
Connect to a dataset like it's a database.
1 | dw_connect(dataset)
|
dataset |
The name of a data.world dataset. |
A "handle" in the form of Data.WorldConnection object.
Even though it doesn't make an API call, this function
will throw an error if your data.world API token has not been
configured. See configure
.
This ensures that any subsequent queries sent over
this connection will work.
1 2 3 4 5 | ## Not run:
conn <- dw_connect('johndoe/petstore')
dbGetQuery(conn, "SELECT * FROM pets WHERE species = 'dog'")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.