Closed bbartholdy closed 10 months ago
Thank you for your pull request :smiley:
:robot: This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.
If you have files that automatically render output (e.g. R Markdown), then you should check for the following:
:mag: Inspect the changes: https://github.com/datacarpentry/r-socialsci/compare/md-outputs..md-outputs-PR-493
The following changes were observed in the rendered markdown documents:
04-tidyr.md | 27 ++++++++++++++-------------
md5sum.txt | 2 +-
2 files changed, 15 insertions(+), 14 deletions(-)
:stopwatch: Updated at 2023-11-06 12:30:53 +0000
While working on #470 I noticed that there was a mistake in the summary table in https://github.com/datacarpentry/r-socialsci/blob/c479d9374cfe42903129240ce7eee878b85e6e6c/episodes/04-tidyr.Rmd#L386C1-L386C1
It was assumed that
no_listed_items
was at the end of the items variables and could be excluded by taking the mean of columnsbicycle:car
. It seems that it is located somewhere in betweenbicycle
andcar
, so the mean, which was supposed to count all items exceptno_listed_items
, is actually the mean includingno_listed_items
.This adds the line
select(-no_listed_items)
to explicitly ensure thatno_listed_items
is not included in the mean.