create_portfolio_users_db: Create an initial portfolio_users data table in the psql...

Description Usage Arguments Value

View source: R/create_portfolio_users_db.R

Description

Create an initial portfolio_users data table in the psql database

Usage

1
create_portfolio_users_db(portfolio_users = NULL, connection_object = NULL)

Arguments

portfolio_users

A dataframe with the columns portfolio_id, user_id, is_creator, and is_admin

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 "portfolio_users" table added to PSQL database


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