upload_data: Tidy data upload from users

upload_dataR Documentation

Tidy data upload from users

Description

Tidy data upload from users

Usage

upload_data(data, conn, trust_id, user, write_db = TRUE)

Arguments

data

dataframe, loaded within Shiny application

conn

connection, from existing pool. Can be 'NULL' if 'write_db = FALSE'

trust_id

string. Which trust are you uploading data for?

user

the current user's username gotten from 'session$user'

write_db

logical should the final data be written to the database or returned as a dataframe?

Value

boolean, indicating success or failure in upload


CDU-data-science-team/experiencesdashboard documentation built on Nov. 30, 2023, 5:57 a.m.