dp_get | R Documentation |
Get a data product object from the provided remote pin board,
including input links and output data structure. By default get the latest
version, or get a particular version by specifying the version hash (find
available versions using dp_list
).
dp_get(board_object, data_name, version = NULL)
board_object |
A |
data_name |
The name of the data product to get from the remote pin
board, i.e. "dp-cars-us001". To get a list of data products available on
the remote pin board, use |
version |
The hash specifying the data product version to get from the
remote pin board. If |
A data product object, which is a list with class dp
and items
input
, output
, and README
.
## Not run:
aws_creds <- creds_set_aws(
key = Sys.getenv("AWS_KEY"),
secret = Sys.getenv("AWS_SECRET")
)
board_params <- board_params_set_s3(
bucket_name = "bucket_name",
region = "us-east-1"
)
board_object <- dp_connect(board_params, aws_creds)
dp <- dp_get(board_object, data_name = "data-name")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.