![movie explorer app bonus material movie explorer app bonus material](https://vignette3.wikia.nocookie.net/mlp-gameloft/images/b/bd/Schoolhouse.png)
Often this is not difficult, as the first warning/error that pops up is generally apparent, but often the warning/error is obvious enough (to some) that it can be resolved in a comment vice having to load all code/changes, fix the code (that was pasted incorrectly), and then try to hunt down what I believe is the cause of the asker's vague "does not work". But without direction (e.g., an error message, a warning, "missing data", something), you are asking for end-to-end debugging. "does not work" suggests to me that it needs more time and attention, certainly.
![movie explorer app bonus material movie explorer app bonus material](https://zappiti.com.au/images/screenshots/zappiti_classic_open_movies_big.jpg)
If code is not immediately visible because it scrolls out of the code-pane, you should have to justify to yourself why the extra code is necessary for your question.
Movie explorer app bonus material install#
I will often skip questions when I see that "required packages" are not installed on my machine, if for no other reason than I don't want to install cruft I don't need. Similarly, gifski, gganimate, and scales are completely unused. In this case, the problem was related to basic filtering, so neither plots ( ggplot2, plotly) nor themes ( shinythemes) were necessary.
![movie explorer app bonus material movie explorer app bonus material](https://venturebeat.com/wp-content/uploads/2018/06/screen-shot-2018-06-04-at-2-09-19-pm.jpg)
The latter seems quick-to-judge, but my time is valuable to me, so I must apportion it appropriately.įurther, it really helps to provide a minimal working example. When I try somebody else's code, if I find typos in the question code, I often dismiss the question immediately as either " they don't know what the problem really is", or " OP does not care about our time, asking us to do more than needed". In so doing, you'll see the unrelated problems answerers are having to deal with when trying to help you. (For both your code and your dput output.) It helps to take your question and try it in a new R session and see what happens. (Typo: AverageVotesCat as AerageVotesCat)įurther, I have assumed that your "director filter" is pattern-like and not an exact match (ergo the use of grepl).Ĭommentary about asking questions on SO, not needed to answer this specific question:įor future questions, it is important that you provide a complete working example: above, your code is missing parentheses, both in the middle and at the end.I encourage you to use the req(.) function so that blocks to not fire before the prerequisites are stable.sampling must not exceed the size of the frame, you would happily allow the user to set input$n above the effective size of the data.all tables and plots must work off of the filtered data, your table was working off of the original df data.TabPanel(h4("DATA"), DT::dataTableOutput(outputId = "moviestable", width = 500) TabPanel(h4("PLOT"), plotlyOutput("plot"), TextInput("Director", h4("Director name contains (e.g., Miyazaki)")),ĬheckboxGroupInput(inputId = "selected_var", SliderInput("SectorTime", h4("Select a time period:"), min = 1960, max = 2015, # Sidebar layout with a input and output definitionsĬhoices =c("Budget" ="budget", "Revenue" = "revenue", "Runtime" = "runtime", "Vote average" = "vote_average", "Year released" = "release_year", "Profit" = "breakeven"), TitlePanel("Movie browser, 1960 - 2014", windowTitle = "Movies"), Ui <- fluidPage(theme = shinytheme("united"), "Good"), class = "factor")), row.names = c(NA, 10L), class = "ame"ĭf <- read.csv("C:/Users/XXX/Downloads/movie1.csv") Abrams", "James Wan", "Robert Schwentke"), class = "factor"), Label = c("Colin Trevorrow", "George Miller", ), class = "factor"), homepage = structure(c(2L, 2L, 3L, 3L, "Insurgent", "Jurassic World", "Mad Max: Fury Road", "Star Wars: The Force Awakens"