EnteringModal: EnteringModal

Description Usage Arguments Details Value See Also

View source: R/EnteringModal.R

Description

A module for a modal with multiple pages for entering transactions into the database.

Usage

1
EnteringModal(input, output, session, open_modal, tas, db)

Arguments

input

list from shiny session

output

list from shiny session

session

list from shiny session

open_modal

reactive used as trigger to open the modal

tas

reactive which stores the initial transactions object created by Read_csv function

db

chr of database file (full path and file name)

Details

This is the server logic of the module. While the user goes through 4 pages in the modal following is done.

  1. Read method extracts new accountss from transactions object.

  2. Predict method enters new accounts into the database and then predicts each transaction.

  3. Duplicated reads the database to see if transactions were already entered.

  4. Enter finally inserts new transaction into the database.

Value

TRUE

See Also

Other application functions: EnteringModalUI, UploadSettingsUI, UploadSettings, abacusApp


mRcSchwering/abacus documentation built on May 21, 2019, 9:18 a.m.