Description Usage Arguments Value Note See Also Examples
List datasets in an AzureML workspace, optionally filtering on sample or my datasets.
1 |
ws |
An AzureML workspace reference returned by |
filter |
Optionally filter result, returing all, mine, or sample datasets. |
A data.frame with class Datasets
listing available datasets in the workspace.
datasets(w)
is equivalent to w$datasets
. Since w$datasets
is simply
an R data.frame, you can alternatively filter on any variable as desired.
workspace
, experiments
, download.datasets
Other dataset functions: delete.datasets
,
download.intermediate.dataset
,
upload.dataset
, workspace
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ## Not run:
library(AzureML)
# Use the default config file ~/azureml/settings.json with format:
# {"workspace":{
# "id":"test_id",
# "authorization_token": "test_token",
# "api_endpoint":"api_endpoint",
# "management_endpoint":"management_endpoint"
# }}
# or, optionally set the `id` and `auth` parameters in the workspace
# function.
ws <- workspace()
# List datasets
ws$datasets
datasets(ws)
dataset <- "New York weather"
ds <- match(dataset, ws$datasets$Name)
frame <- download.datasets(ws$datasets[ds, ])
head(frame)
# Alternative approach:
frame <- download.datasets(ws, name=dataset)
head(frame)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.