giocomai / ganttrify

Create beautiful Gantt charts with ggplot2
https://ganttrify.europeandatajournalism.eu/
GNU General Public License v3.0
654 stars 61 forks source link

Problem with `mutate()` column `start_date`. #25

Open tbfranklin opened 2 years ago

tbfranklin commented 2 years ago

I am using https://ganttrify.europeandatajournalism.eu and I keep getting the following error message:

Problem with mutate() column start_date. ℹ start_date = as.Date(start_date). ✖ object 'start_date' not found

What am I doing wrong?

giocomai commented 2 years ago

It seems that your source spreadsheet does not have a column called start_date.

All columns must be called exactly the same as in the examples you find in the readme or in this Google Drive doc (notice that this also has a "spots" tab, that you can remove if you don't need it). The app will be more flexible, but until then, one should maintain strictly the same structure provided in the example files.

More broadly, I am aware that the app does not provide informative error messages, which is an I issue I plan to address in a future release.