Unit 1 Task 1: Exploring Names
Background
Early in prehistory, some descriptive names began to be used again and again until they formed a name pool for a particular culture. Parents would choose names from the pool of existing names rather than invent new ones for their children.
With the rise of Christianity, certain trends in naming practices manifested. Christians were encouraged to name their children after saints and martyrs of the church. These early Christian names can be found in many cultures today, in various forms. These were spread by early missionaries throughout the Mediterranean basin and Europe.
By the Middle Ages, the Christian influence on naming practices was pervasive. Each culture had its pool of names, which were a combination of native names and early Christian names that had been in the language long enough to be considered native. [ref]
Client Request
This csv file contains the number of times a name was given to a child in a specific year. The Client has a passion for names throughout history. They would like to know how the usage of names has changed over time. They are particularly interested in the names Mary, Martha, Peter, and Paul. They would also like to know how the usage of a name from a famous movie has changed over time.
Data
Every data science project should start with data, and our class projects are no different. Each project will have ‘URL’ and ‘Information’ links like the ones below. Right click the ‘URL’ link and select “Copy Link”. You can use that copied URL in your code to read in the data. This is the preferred method to get data into your report as you will be publishing your report to GitHub. If you choose to download the data file to your computer you will need to save it in the same folder as your quarto file for the assignment in order for it to work correclty in GitHub.
URL: names_year.csv
Information: data.md
Readings
Complete these readings before we cover the material in class. This will help you retain the material and make the class period more engaging - not less.
In other words, if an assignment is due on Wednesday, we will cover the material needed to complete the assignment on Tuesday. Therefore, you should complete the readings on Monday (or anytime before class on Tuesday).
Questions and Tasks (Core)
Download this Unit 1 Task 1 template. The answer to each question should include code and an answer written in a full sentence.
- What was the earliest year that the name ‘Felisha’ was used?
- What year had the most babies named ‘David’? How many babies were named ‘David’ that year?
- What year did your name hit its peak? How many babies were named your name in that year?
- How many babies are named ‘Oliver’ in the state of Utah for all years?
- In the most recent year of data, what was the most common female name in Utah?
Submission:
When you have completed the report, you will need to follow this process to submit your work:
- Have the
Unit1_Task1
template open in VS Code and nothing else - Click
Preview Button
in VS Code in the top right of the screen- This will render the file but also the entire course work portfolio into
HTML
files for review - Confirm everything displays as you would like it to
- How you see it will be how it is viewed for grading
- If there is an error in any cell of the quarto files, the rendering will stop and you will need to fix the error before rendering again (if you get stuck post your error in Slack)
- This will render the file but also the entire course work portfolio into
- Once the report is confirmed close the preview and open a VS Code
Terminal
- click
Terminal
in the top menu bar and thenNew Terminal
- click
- Type the following in the terminal
quarto render
- Then drag and drop
unit1_task1.qmd
into the terminal, this will add the file path to the terminal command - Press Enter
- Then drag and drop
- This will render the project into a
HTML
file in the same location as the.qmd
file - To locate the file in VS Code
- Right click on the file in the file explorer and select
Reveal in File Explorer
(Win) orReveal in Finder
(Mac)
- Right click on the file in the file explorer and select
- Upload
HTML
file into Canvas
Deliverables:
Deliverables are “the quantifiable goods or services that must be provided upon the completion of a project”. In this class the deliverable for each project is a .html file report created using Quarto files. This final section will be the same for each project.
Use this Unit1_Task1 template to submit your Client Report.
- Answers to the questions | tasks. Each should include a written description of your results, code cells with comments, and any charts and/or tables.
Your report should be written in quarto markdown files and rendered to an HTML File. Upload the HTML file in Canvas. (Do not submit the .qmd
file)