How to draw groups of bar plots, grouped by year in R? : I want to graph data that looks like this:

[![enter image description here][1]][1]

And I want the x axis to be helpnot, and I want the why to be the actual number of count. I want the X axis split into two groups. How do I do this? I have this which is close... but year is split on top of each bar and in groups by year. How do I fix this?

This is what I have:

    ggplot(data = helpnotComparison, aes(x=helpnot, y=count, fill = year)) +
       geom_bar(stat='identity')

That produces me this:

[![enter image description here][2]][2]


  [1]: https://i.stack.imgur.com/p5UEM.png
  [2]: https://i.stack.imgur.com/2JE18.png