shinyscenarioeditor's People
shinyscenarioeditor's Issues
Scenarios shiny app: add new outptut intervals to a scenario
Function to add a new output interval (or delete an existing one) to the list of output intervals of a scenario.
Start, end, and resolution and select units.
Find a new name
Since the app will be used to modify all esqlabsR excel sheets, it should not be called shinyScenarioEditor anymore.
ShinyApp for plots: propagate error for all try-catch
All try-catch must return the error (show it as pop-up)
Write README
ShinyApp for Plots: better tables
Tables should be editable. Would be great to have some sorting, filtering etc.
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
inmod_main_panel
tab_plots
should contain calls tomod_table_tab_server
andmod_table_tab_ui
Define the data structure
The r$data
data structure contains:
- a generic key for each excel file (
scenarios
forScenarios.xlsx
) - For each key:
file_path
path to the filesheets
: 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
...
Setup Golem
Add sample documents
- Snapshot
- pksim project
- related excel files
- autofill script
Improve table style
datamods uses the reactable package.
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.
Integrate `{datamod}`
The edit_data with passable reactable options currently lives in this branch: https://github.com/dreamRs/datamods/tree/dev-2
Define the input layout blueprint
How should inputs be organized ?
- table (datamods)
- Separate fields
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.