Unit 1 Stretch Task: Elliot
Canvas: U1: Stretch Task — Elliot
Type: Stretch Task (1 pt, complete/incomplete)
Copilot: Allowed for syntax lookup; disallow for answer generation.
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 correctly in GitHub.
URL: names_year_csv.csv
Information: data.md
Readings
No new readings. Review the previous readings as needed
Stretch Questions
Skills: custom filtering, exploratory name queries
Here is an example Stretch question(s) for this project. You can may propose your own idea for a stretch task that you are interested in that would take a similar level of effort and practice a similar set of skills. If you propose a different task, be sure to get it approved by your instructor first.
Reproduce the chart Elliot using the data from the
names_year.csvfile. If, after a couple of hours, you can get the chart close, but not exactly the same, that is okay. You will learn more to the degree you push yourself.
Note: There is no template for this task. You will have to create a new file from scratch as part of this stretch.
Submission:
When you have completed the report, follow this process to submit your work:
- Have this assignment’s template/quarto file open in VS Code and nothing else
- Click the
Previewbutton in VS Code (top right of the screen)- This renders the file so you can review it
- Confirm everything displays as you would like it to
- How you see it is 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)
- Once the report is confirmed close the preview and open a VS Code
Terminal- Click
Terminalin the top menu bar and thenNew Terminal
- Click
- Type the following in the terminal:
quarto render- Then drag and drop this assignment’s
.qmdfile into the terminal. This will add the file path to the command. - Press Enter
- Then drag and drop this assignment’s
- This renders the project into an
.htmlfile in the same location as the.qmdfile - 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 the
.htmlfile 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.
No template is provided. Create a new quarto file for this assignment. It is part of stretching yourself.
- Answers to the questions | tasks.
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)