dp_connect | R Documentation |
Connect to the pin board storing the data product. This is
necessary prior to interacting with the content of the pin board. Behind
the scenes, the appropriate pins::board_*
function is used to connect to
the pin board after any required credentials are set up.
dp_connect(board_params, creds, ...)
board_params |
The parameters specifying a pin board to connect to. This
pin board is where the data product is stored. A |
creds |
The credentials required to connect to the pin board location.
A |
... |
other parameters to pass through to the specific |
A pins_board
object, which will be passed as an argument to other
functions that read and write the data product.
## 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.