Join Mark Niemann-Ross for an in-depth discussion in this video Introduction to the problem of building the web, part of Code Clinic: R.
(electronic music) - Hello, and welcome to Code Clinic. My name is Mark Niemann-Ross, and I'm the content manager for the developer segment at lynda.com. Code Clinic is a course where we introduce a problem to a collection of lynda.com authors. In turn, those authors use their computer programming language of choice to produce a unique solution. You can learn several things from Code Clinic, different approaches to solving a problem, the pros and cons of different languages, and some tips and tricks to incorporate into your own coding practices.
This time we're working on a problem common to anyone building a website or a report specifically merging live data with static templates. Data is only useful when we can effectively communicate it to someone else, and to do that, we need to format it into some sort of meaningful visual representation. Sometimes this takes the form of a printed report. Most likely it means publishing data to a webpage. In this problem, we've given our authors a pre-formatted HTML webpage and two data files in CSV format, that's comma separated values.
Their job is to write code that will insert the data files into the webpage and apply the proper formatting. We're going to use the files created by James Williamson in chapter nine of his course titled Dreamweaver CC Essential Training. James provides all of the material that we need for this challenge, and I invite you to download the example files for that course if you would like to attempt your own solution. In the next videos, we'll see how I solved this challenge.
Mark introduces challenges and then provides an overview of his solutions in R. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Intermediate
Q: R Studio tells me that it can't find files I expect to be available. Where can I find them?
A: Use the setwd() command to set the working directory to match the folder you're working in.
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S.
R Statistics Essential Trainingwith Barton Poulson5h 59m Intermediate
1. Problem One: Statistical Analysis
2. Problem Two: Image Analysis
3. Problem Three: Eight Queens
4. Accessing Peripherals
5. Recursion and Directories
Walking the directory sort code10m 56s
6. Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.