I am using R to manage a file that gives an overview over the books I've read.
The csv file follows the following structure:
Name Year.Read Gender
Title 1 2019 Female
Title 2 2018 Male
Title 3 2018 Male
Title 4 2018 Male
Title 5 2018 Female
...
There are of course more titles in the full document. What I would like to represent is the change of how many titles have been read per Gender per year, i.e., I would like to produce a table that tells me how many of the titles read in 2018 were by Women, how many were by men etc.
edit:
A desired output would like something like this:
Year Woman.Number Gender.Man.Number
2019 3 4
2018 3 4
2017 1 3