R-ecology-lesson icon indicating copy to clipboard operation
R-ecology-lesson copied to clipboard

information about seeing the content of the data not accurate

Open bienflorencia opened this issue 2 years ago • 0 comments

In the section Reading the data into R of the episode 'Starting with data', there is inaccurate information being shown.

The text says: "We can see the contents of the first few lines of the data by typing its name: surveys. By default, this will show you as many rows and columns of the data as fit on your screen. If you wanted the first 50 rows, you could type print(surveys, n = 50)"

But, because it is a tibble, the object displays by default ten rows. I suggest the following text modification:

  • "By default, this will show 10 rows and as many columns of the data as fit on your screen".

I saw that this lesson was corrected before (#761), and I understand the confusion might come from changing from read.csv() to read_csv(). However, the information is not entirely accurate at the moment.

I also believe this part is unnecessary or could be improved.

"If you wanted the first 50 rows, you could type print(surveys, n = 50)"

bienflorencia avatar May 26 '23 15:05 bienflorencia