1. Learn
  2. /
  3. Courses
  4. /
  5. Creating Dashboards with shinydashboard

Exercise

Optimize this

You have a file that is static that you want your users to have access to. Optimize the code below for this circumstance. The name of the file path for the file you'd like to read in is saved and loaded in the object starwars_filepath.

Instructions

100 XP
  • Examine the code below -- think about how many times the data will be read in.
  • Update the sample code to be more efficient.