Description Usage Arguments Value Examples
View source: R/get_or_create_user.R
Based on a given ScrapeBot user's email address, get this user's UID
(or create it first)
1 | get_or_create_user(connection, email)
|
connection |
A ScrapeBot connection object, as retrieved from |
email |
Character string with the email address to be used for the user. |
The UID
of the (newly created or found) user (as integer). If a user is created, a text will be shown with the generated password.
1 2 3 4 5 6 | ## Not run:
connection <- connect('my_db on localhost')
get_or_create_user(connection)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.