Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.25 KB

02_command_line_chipotle.md

File metadata and controls

18 lines (14 loc) · 1.25 KB

Class 2 Homework: Command Line Chipotle

Command Line Tasks:

  1. Look at the head and the tail of chipotle.tsv in the data subdirectory of this repo. Think for a minute about how the data is structured. What do you think each column means? What do you think each row means? Tell me! (If you're unsure, look at more of the file contents.)
  2. How many orders do there appear to be?
  3. How many lines are in this file?
  4. Which burrito is more popular, steak or chicken?
  5. Do chicken burritos more often have black beans or pinto beans?
  6. Make a list of all of the CSV or TSV files in the DAT8 repo (using a single command). Think about how wildcard characters can help you with this task.
  7. Count the approximate number of occurrences of the word "dictionary" (regardless of case) across all files in the DAT8 repo.
  8. Optional: Use the the command line to discover something "interesting" about the Chipotle data. Try using the commands from the "advanced" section!

Submitting Your Homework:

  • Create a Markdown file that includes your answers and the code you used to arrive at those answers.
  • Add this Markdown file to a GitHub repo that you'll use for all of your coursework.
  • Submit a link to your repo using the homework submission form.