Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.5 KB

04_command_line_chipotle.md

File metadata and controls

19 lines (14 loc) · 1.5 KB

Lesson 4 Homework: Command Line Chipotle

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 listed just below the course schedule on the class repo on the main README.md page. (submission form)

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 GA-SEA-DAT2 repo (using a single command). You will be working on your local repo on your laptop. 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 GA-SEA-DAT1 repo.
  8. Optional: Use the the command line to discover something "interesting" about the Chipotle data. Try using the commands from the "advanced" section!