Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. Minneapolis2013.txt (adopted from Problem 7.3, 10.5, 10.7 in DC ebook) Download the Minneapolis2013.txt on Canvas (Files data). Import and assign it to Minneapolis 2013
2. Minneapolis2013.txt (adopted from Problem 7.3, 10.5, 10.7 in DC ebook) Download the Minneapolis2013.txt on Canvas (Files data). Import and assign it to Minneapolis 2013 Construct a data wrangling command involving Minneapolis2013 that will answer the following questions. a. (1 pts) How many unique values in the variable? - Note: we did the same thing in Activity 4, so try to use for this time. b. (1 pts) How many cases have as their first choice? - Note: we did the same thing in Activity 4, so try to use for this time. c. (1 pts) Make a subset only containing Precinct, First, and Ward variables. Print the first three lines of the subset. d. (2 pts) Who were the top 5 candidates in the vote selections. e. (2 pts) How many ballots are marked in choice selections? f. (2 pts) What are the top 3 combinations of First and second vote selections? (That is, of all the possible ways a voter might have marked his or her first and second choices, which received the highest number of votes?) g. (2 pts) Which had the highest number of ballots cast? h. (2 pts) How many people chose the same candidate for both and place? i. (2 pts) Of the ballots where the and place choices are the same, what were the top 3 choices? j. (2 pts) Of the people who selected , what were the top three choices? k. (2 pts) Translate each of the minor candidates from the candidate's name to Let's define a minor candidate as getting fewer than 5000 first-choice votes
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