I have a table in Excel that looks like this:
| Country | X | Y |
|---|---|---|
| US | 01 | A |
| UK | 02 | B |
| FR | 03 | C |
Using R (I imported the excel using "readxl" package) and Rmarkdown, I would like to create, for each country, a word file showing only the X and Y values related to that country. So for example, the word file generated for the US would have "US" as title, and simply a table showing:
| X | Y |
|---|---|
| 01 | A |
Can anybody help? Many thanks in advance!
