Comparing walk() vs. no walk() outputs
Printing out lists with map()
shows a lot of bracketed text in the console, which can be useful for understanding their structure, but this information is usually not important for communicating with your end users. If you need to print, using walk()
prints out lists in a more compact and human-readable way, without all those brackets. walk()
is also great for printing out plots without printing anything to the console.
Here, you'll be using the people_by_film
dataset, which contains data derived from sw_films
that has the url of each character and the film they appear in.
Diese Übung ist Teil des Kurses
Foundations of Functional Programming with purrr
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Print normally
___