Files with extension .Rmd are R Markdown files. We are going to practice compiling .Rmd files, i.e. knit them, to HTML pages.

  1. Change the name of the author above to yours and change the date.
  2. Complete the work in the sections below, periodically “Knitting” to make sure things work.
  3. Once you feel you are done, in the resulting pop-up window of an HTML page, click on “Publish” (in blue on the top-right) -> RPubs -> Publish.
    • Create an RPubs account
    • Give it
      • Title: “YOUR NAME Problem Set 01”
      • “slug” i.e. URL completion: problem_set_01
  4. Your analysis is now online and visible to the world! You can update what’s online by repeating the previous 2 steps.
  5. Copy the URL of the resulting RPubs page and complete the submission form on the Problem Set page

Part 1: Babyname Trend

Using a combination of Google, your instincts, and/or trial and error, find an one example of a name for a given sex whose popularity trend you find interesting. Add a sentence or two about your hypothesis as to why we see this trend. You’ll be copying over code from the example babynames.Rmd done in class for Lec03 below:

A name now synonomous with the significant other of Disney’s mascot, the name Minnie had suprisingly huge popularity in 1880 and has experienced an exponential decrease in interest over the last 100+ years. Interest shows no signs of re-appearing, possibly due to the use of the name by the fictional Disney character Minnie Mouse, which may have caused many parents to not see the name as a serious or practical choice for a child.