Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 ) Run specified R code lines using the ggplot 2 package. Choose the txhousing database for analysis. Type library ( ggplot 2 ) data
Run specified R code lines using the ggplot package. Choose the "txhousing" database for analysis.
Type
libraryggplot
datapackage ggplot txhousing
Create a dataframe and a tibble with information on the "txhousing" database.
Describe the number of variables, observations, variable names, and definitions.
Explain why the data is not in an ideal tidy format and perform required steps to
tidy it
Check for missing information or duplicates and explain whether these values provide additional information or whether they should be dropped from the database.
Create a new column, "unsoldpercentage," measuring the percentage of unsold properties each month.
Create the average value of variables per city, named "meanunsoldpercentage."
Keep this new variable and city, drop duplicates values if any, and export the data in excel file named yourlastnameHW
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started