datacarpentry / r-intro-geospatial

Introduction to R for Geospatial Data
https://datacarpentry.org/r-intro-geospatial/
Other
47 stars 71 forks source link

Suggestions for Exploring Data Frames Challenge 3 #120

Open sstevens2 opened 2 years ago

sstevens2 commented 2 years ago

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

jsta commented 2 years ago

Agreed, that is confusing.

albhasan commented 1 year ago

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,