jeroenjanssens / data-science-at-the-command-line

Data Science at the Command Line
https://datascienceatthecommandline.com
Other
3.77k stars 766 forks source link

Wrong command when rendered in the book #142

Open persep opened 1 year ago

persep commented 1 year ago

This command https://github.com/jeroenjanssens/data-science-at-the-command-line/blob/44cddf60fdbb1a598f1e253b560346c90bce88b7/book/2e/03.Rmd#LL112C1-L113C5

shows as image

On the website when the correct command is:

curl "https://en.wikipedia.org/wiki/List_of_windmills_in_the_Netherlands" |
trim

And on the same page https://github.com/jeroenjanssens/data-science-at-the-command-line/blob/44cddf60fdbb1a598f1e253b560346c90bce88b7/book/2e/03.Rmd#L127

is rendered as image

when the correct command is curl -s "https://en.wikipedia.org/wiki/List_of_windmills_in_Friesland" | pup -n 'table.wikitable tr'