I have a list of vectors that each vector look like this
c("Japan", "USA", "country", "Japan", "source", "country", "UK", "source", "country", "USA")
My task is to extract the country name after the first c("source", "country"), so "UK" will be the country name to be extracted in this example. In all vectors, c("source", "country") will be followed by a country name, so I just need to extract the element right after the first c("source", "country").