View source: R/DataStreamConnection.r
TestDataStreamCredentials | R Documentation |
This function checks the validity of the provided DataStream username and password by sending a request to the DataStream API.
TestDataStreamCredentials(DatastreamUsername = NULL, DatastreamPassword = NULL)
DatastreamUsername |
Character. The DataStream username. |
DatastreamPassword |
Character. The DataStream password. |
Logical. Returns 'TRUE' if the credentials are valid. If invalid, returns 'FALSE' and issues a warning with the error message.
TestDataStreamCredentials(DatastreamUsername = "wrongusername"
, DatastreamPassword = "wrongPassword")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.