create_users_db: Create an initial users table

Description Usage Arguments Value

View source: R/create_users_db.R

Description

Create a users table in the database

Usage

1
create_users_db(users = NULL, connection_object = NULL)

Arguments

users

A dataframewith the columns user_id, name, email, upi, and last_login

connection_object

An open connection to adatabase (as created through credentials_extract and credentials_connect or credentials_now); if NULL, the function will try to create a connection_object by retrieving user information from the credentials/credentials.yaml in or somewhere upwards of the working directory.

Value

A "users" table added to PSQL database


databrew/portfoliodash documentation built on May 3, 2019, 1:47 p.m.