GithubHelp home page GithubHelp logo

shinyscenarioeditor's People

Contributors

felixmil avatar

Watchers

 avatar

shinyscenarioeditor's Issues

Find a new name

Since the app will be used to modify all esqlabsR excel sheets, it should not be called shinyScenarioEditor anymore.

Specify data types for all excel files

readxl function assumes that empty columns are logical with NA values. This makes {datamods} crash when editing value because logical cannot be NA. To solve this, all columns are read as characters.

However, for making the editing UI more convenient to the users, the data should be correctly typed.

Create a additional section for Plots

to be changed/added:

  • "plots" element in the data_structure()
  • assign file_path with corresponding projectConfiguration() item in mod_import.R (~line 60)
  • new module called tab_plots for example
  • add tab_plots in mod_main_panel
  • tab_plots should contain calls to mod_table_tab_server and mod_table_tab_ui

Define the data structure

The r$data data structure contains:

  • a generic key for each excel file (scenarios for Scenarios.xlsx)
  • For each key:
    • file_path path to the file
    • sheets: vector of sheet names
    • [Sheet]: a daframe containing the data loaded from a sheet of the excel file
    • [Sheet]_modified: a dataframe intialised as [Sheet] but where modified dataframe will be stored when changed.

Example:

r$data
  $Scenarios
    $file_path
    $sheets
    $Scenarios
    $Scenarios_modified
    $OutputPaths
    $OutputPaths_modified
  $Individuals
    $file_path
    $sheets
    ...

ShinyApp for plots: selection of sheets to read from data file

If some sheets cannot be parsed with current data importer configuration, nothing happens because by default all sheets are read. Provide a check-box selection of sheets present in the data file and "reload" button that triggers reading of data only from selected sheets.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.