Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use R language Data wrangling Start with outbreak_raw. Your new wrangled dataset should be saved as an object called outbreak. Make sure the episode_week column

image text in transcribed

Use R language

Data wrangling Start with outbreak_raw. Your new wrangled dataset should be saved as an object called outbreak. Make sure the episode_week column is in date format by explicitly overwriting it with a date version if itself. Use the date() function. Assess whether the data is currently tidy. If yes, proceed. If no, alter it to be tidy. Specifically, it needs to be in the correct format to be useful for creating the figure for this section. Note how Sporadic and Outbreak associated appear in the figure for this section. Make alterations to your data that make sure these names are a) correctly worded/capitalized and b) will appear in the correct order in the legend of the figure for this section. Create a new variable, total_cases, that indicates the total number of cases in the episode week, i.e., the sum of sporadic cases and outbreak associated cases. . Data wrangling Start with outbreak_raw. Your new wrangled dataset should be saved as an object called outbreak. Make sure the episode_week column is in date format by explicitly overwriting it with a date version if itself. Use the date() function. Assess whether the data is currently tidy. If yes, proceed. If no, alter it to be tidy. Specifically, it needs to be in the correct format to be useful for creating the figure for this section. Note how Sporadic and Outbreak associated appear in the figure for this section. Make alterations to your data that make sure these names are a) correctly worded/capitalized and b) will appear in the correct order in the legend of the figure for this section. Create a new variable, total_cases, that indicates the total number of cases in the episode week, i.e., the sum of sporadic cases and outbreak associated cases

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

3. Existing organizations and programs constrain behavior.

Answered: 1 week ago