Learn R Programming

pyMTurkR (version 1.1)

GetClient: Creates an MTurk Client using the AWS SDK for Python (Boto3)

Description

Create an API client. Only advanced users will likely need to use this function. CheckAWSKeys() is a helper function that checks if your AWS keys can be found.

Usage

GetClient(sandbox = getOption("pyMTurkR.sandbox", TRUE),
  profile = getOption("pyMTurkR.profile", "default"),
  restart.client = FALSE)

Arguments

sandbox

A logical indicating whether the client should be in the sandbox environment or the live environment.

profile

A character string that specifies the profile to use from the .aws/credentials file, optional.

restart.client

A boolean that specifies whether to force the creation of a new client. This is useful if you want to change between sandbox and live environments within the same R session.

Details

StartClient() is an alias

References

AWS SDK for Python (Boto3) Boto3 Docs

Examples

Run this code
# NOT RUN {
GetClient()
# }

Run the code above in your browser using DataLab