dfe-analytical-services / dfeR

Common R tasks in the Department for Education (DfE)
https://dfe-analytical-services.github.io/dfeR/
GNU General Public License v3.0
9 stars 2 forks source link

Feature/shiny template #34

Closed cwthom closed 7 months ago

cwthom commented 6 years ago

Summary

Addition to the different templates and things we've got going on - thought it might be useful to have a function which creates a template shiny app for people to get up and running with the structure quickly.

Details

I've added a couple of template apps in the inst/ directory under shiny/. These can be accessed by using system.file(package = 'dfeR'), and copied across to the user's directory of choice. There's a couple of arguments for checking whether or not to create blank CSV and SQL folders, or a custom.css file.

Let me know what you think, happy to discuss. To test it out, I'd recommend keeping the default of tempdir() for the folder argument.

Chris