r-intro-geospatial icon indicating copy to clipboard operation
r-intro-geospatial copied to clipboard

Suggestions for Exploring Data Frames Challenge 3

Open sstevens2 opened this issue 3 years ago • 2 comments
trafficstars

While I think the direction to talk to other learners is nice, it is confusing that the info learners enter into the new rows doesn't match what was in it before or the column labels.

I suggest, having them add a row that has d 4 TRUE in it and using rbind. Then having them create a 2nd data frame df_ef which has the rows e 5 FALSE and f 6 FALSE in it and using rbind

sstevens2 avatar Jun 12 '22 19:06 sstevens2

Agreed, that is confusing.

jsta avatar Jun 13 '22 17:06 jsta

Hi,

this challenge (script episodes/04-data-structures-part2.Rmd, line 340) first presents an example about how to create a data frame and then asks the readers to create a new one. I guess the confusing part is the missmatch between the data in the data frames. (i.e. the example data frame is about letters and numbers and the one the readers are asked to create is about scientists).

I guess we could either remove the first data.frame (the example) or (as suggested by @sstevens2) match the data in both data frames. However, I don't think the sudden escalation from letters and numbers to scientist is necessarily problem because this lesson is about geospatial data and the readers are expected to have certain familiarity with R.

Bests,

albhasan avatar Aug 13 '23 14:08 albhasan