Week 5 – Documentation and reports

data analysis with r programming weekly challenge 5

1. A data analyst wants to create documentation for their cleaning process so other analysts on their team can recreate this process. What tool can help them create this shareable report?

  • Code chunks
  • Inline code
  • Dashboards
  • R Markdown

 

2. A data analyst wants to export their R Markdown notebook as a text document. What are the text document formats they can use to share their R Markdown notebook? Select all that apply.

  • Notepad
  • Word
  • PDF
  • HTML

3. A data analyst writes two hashtags next to their header. What will this do to the header font in the .rmd file?

  • Make it bigger
  • Make it smaller
  • Make it centered
  • Make it a different color

4. Fill in the blank: A data analyst includes _____ in their R Markdown notebook so that they can refer to it directly in their explanation of their analysis.

  • inline code
  • markdown
  • markdown
  • documentation

5. What symbol can be used to add bullet points in R Markdown?

  • Asterisks
  • Brackets
  • Exclamation marks
  • Backticks

6. A data analyst adds a section of executable code to their .rmd file so users can execute it and generate the correct output. What is this section of code called?

  • Data plot
  • Documentation
  • YAML
  • Code chunk

7. A data analyst is inserting a line of code directly into their .rmd file. What will they use to mark the beginning and end of the code?

  • Delimiters
  • Asterisks
  • Markdown
  • Hashtags

 

8. A data analyst who works with R creates a weekly sales report by remaking their .rmd file and converting it to a report. What can they do to streamline this process?

  • Create an R notebook
  • Knit their .rmd file
  • Convert their .rmd file
  • Create a template

Shuffle Q/A 1

9. R Markdown is a file format for making dynamic documents with R. What are the benefits of creating this kind of document? Select all that apply.

  • Save, organize, and document code
  • Create a record of your cleaning process
  • Perform calculations for analysis more efficiently
  • Generate a report with executable code chunks

10. A data analyst wants to change their header to be one font size smaller. What should they add to their markdown syntax?

  • Backtick
  • Exclamation mark
  • Double space
  • Hashtag

Devendra Kumar

Project Management Apprentice at Google

Leave a Reply