Shiver me timbers
data
directory.R
directory. The text analysis code is contained in a rmarkdown file at markdown/ReviewAnalysis.Rmd.R/cleaning.R
includes the code for loading the data used for visualization in the shiny application. It is sourced in local environment of server.R
, so you should avoid putting long running code in this file. It should just load the data from disk and do various data munging operations. The result is a data.frame listings
with the data for visualization and modeling.server.R
contains the backend code. By backend I mean code that generates data used by the U/I, i.e. it runs the R scripts. ui.R
contains the front-end code. This is code that changes the web-app for the user, i.e the html and css seen by the user.www
contains anything else needed for the webapp. Most importantly styles.css
which contains any css for the web-page.The site is located here.
If you want to run the laster master app without cloneing the repository:
library(shiny)
shiny::runGitHub("425-project", "moecampos")
git clone git@github.com:moecampos/425-project.git
Then before editing the code remember to pull the latest changes. To do this run the following in the top level directory:
git pull --rebase --prune
Run the above command EVERY TIME you sit down to edit the code.
Once you are satisfied with the changes you have made you need to commit your code. To do this run the following command
git commit -am 'my awesome changes'
Where should replace 'my awesome changes' with a description of what you did.
This commit only exists locally though. To add your changes to the repository run
git push origin master
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.