Skip to content

Getting and Cleaning Data(Data Science Specialization)

Course Assignments

Week 1 Quiz:Getting and Cleaning Data(Data Science Specialization):Answers2025

Question 1 How many properties are worth $1,000,000 or more? ✅ 53❌ 24❌ 31❌ 2076 Explanation:Using R: data <- read.csv("ss06hid.csv") sum(data$VAL == 24, na.rm = TRUE) In the codebook, VAL == 24 corresponds to properties worth $1,000,000 or more, and the count is 53. Question 2 Consider the variable FES. Which tidy data principle does… <a href="https://codeshala.io/platform/coursera/course/getting-and-cleaning-datadata-science-specialization/assignment/week-1-quizgetting-and-cleaning-datadata-science-specializationanswers2025/" rel="bookmark"><span class="screen-reader-text">Week 1 Quiz:Getting and Cleaning Data(Data Science Specialization):Answers2025</span></a>

Week 2 Quiz:Getting and Cleaning Data(Data Science Specialization):Answers2025

Question 1 Register an app and query https://api.github.com/users/jtleek/repos. What time was the datasharing repo created? ✅ 2013-11-07T13:25:07Z❌ 2014-03-05T16:11:46Z❌ 2013-08-28T18:18:50Z❌ 2012-06-20T18:39:06Z Explanation: The created_at timestamp for datasharing in the jtleek repos is 2013-11-07T13:25:07Z. Question 2 Which sqldf command selects pwgtp1 for ages < 50? ❌ sqldf("select * from acs where AGEP <<\lt 50 and pwgtp1")❌ sqldf("select… <a href="https://codeshala.io/platform/coursera/course/getting-and-cleaning-datadata-science-specialization/assignment/week-2-quizgetting-and-cleaning-datadata-science-specializationanswers2025/" rel="bookmark"><span class="screen-reader-text">Week 2 Quiz:Getting and Cleaning Data(Data Science Specialization):Answers2025</span></a>

Week 3 Quiz:Getting and Cleaning Data(Data Science Specialization):Answers2025

Question 1 Register an app and query https://api.github.com/users/jtleek/repos. What time was the datasharing repo created? ✅ 2013-11-07T13:25:07Z❌ 2014-03-05T16:11:46Z❌ 2013-08-28T18:18:50Z❌ 2012-06-20T18:39:06Z Explanation: The created_at timestamp for datasharing in the jtleek repos is 2013-11-07T13:25:07Z. Question 2 Which sqldf command selects pwgtp1 for ages < 50? ❌ sqldf("select * from acs where AGEP <<\lt 50 and pwgtp1")❌ sqldf("select… <a href="https://codeshala.io/platform/coursera/course/getting-and-cleaning-datadata-science-specialization/assignment/week-3-quizgetting-and-cleaning-datadata-science-specializationanswers2025/" rel="bookmark"><span class="screen-reader-text">Week 3 Quiz:Getting and Cleaning Data(Data Science Specialization):Answers2025</span></a>

Week 4 Quiz:Getting and Cleaning Data(Data Science Specialization):Answers2025

Question 1 Apply strsplit() to split the column names on "wgtp". What is the value of element 123 of the resulting list? ❌ "15"❌ "w" "15"❌ "wgtp" "15"✅ "" "15" Explanation: Splitting the name that contains "wgtp15" on "wgtp" produces two pieces: an empty string before the match and "15" after it — i.e. ""… <a href="https://codeshala.io/platform/coursera/course/getting-and-cleaning-datadata-science-specialization/assignment/week-4-quizgetting-and-cleaning-datadata-science-specializationanswers2025/" rel="bookmark"><span class="screen-reader-text">Week 4 Quiz:Getting and Cleaning Data(Data Science Specialization):Answers2025</span></a>