Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect functions of DD with those of Shiny App #25

Open
3 tasks
fhoces opened this issue Mar 7, 2019 · 0 comments
Open
3 tasks

Connect functions of DD with those of Shiny App #25

fhoces opened this issue Mar 7, 2019 · 0 comments

Comments

@fhoces
Copy link
Collaborator

fhoces commented Mar 7, 2019

So far the app and dynamic doc produce the same analysis, but that analysis is performed using a different function. So if something changes in the DD, it will not be reflected in the app.

To achieve a higher level of transparency and reproducibility we need to have both running on the same functions.

This will probably entail two big tasks:

  • Make code from app more compact and readable.

  • Wrap each step of the DD into a function. With the following structure:

dd_overall_chunk_functions{
    ...
    functions_in_common_dd_and_app{
        ...
    }
    ...
} 
  • Make the relevant functions in the in the app with the following structure:
shiny_app_functions{
    ...
    functions_in_common_dd_and_app{
        ...
    }
    ...
} 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant