Help adding percentatges to a barplot with ggplot2 (Error: `mapping` must be created by `aes()`)

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: