Only this week, get the SQL Complete Track of 9 courses in a special prize of $330 $89!


Okay, but what about saving data in a different format? As we have the data in memory, we can use the write_delim() function to save the zoo data. We simply give the name of the data we want to save, the path, and the delim option. If we were saving plant data to a CSV file, delimited by commas, we'd write:

write_delim(plants, path = "data/plants.csv", delim = ",")


Save the data in animals to the animals.csv file using write_delim() with the delimiter ;.

Stuck? Here's a hint!


write_delim(animals, path = "animals.csv", delim = ";")