Last chance! 50% off unlimited learning
Sale ends in
List datasets in an AzureML workspace, optionally filtering on sample or my datasets.
datasets(ws, filter = c("all", "my datasets", "samples"))
An AzureML workspace reference returned by workspace
.
Optionally filter result, returing all, mine, or sample datasets.
A data.frame with class Datasets
listing available datasets in the workspace.
workspace
, experiments
, download.datasets
Other dataset functions: delete.datasets
,
download.intermediate.dataset
,
upload.dataset
, workspace
# 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)
# }
Run the code above in your browser using DataLab