get_or_create_user: Based on a given ScrapeBot user's email address, get this...

Description Usage Arguments Value Examples

View source: R/get_or_create_user.R

Description

Based on a given ScrapeBot user's email address, get this user's UID (or create it first)

Usage

1

Arguments

connection

A ScrapeBot connection object, as retrieved from connect_scrapebot().

email

Character string with the email address to be used for the user.

Value

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.

Examples

1
2
3
4
5
6
## Not run: 

connection <- connect('my_db on localhost')
get_or_create_user(connection)

## End(Not run)

MarHai/ScrapeBotR documentation built on March 10, 2021, 10:10 a.m.