For a table I want to summarize data from a directed dyadic country-year to a country - start year - end year format in R.
The data is now arranged as follows:
<