This Is What You Came For
"This Is What You Came For" is a song by Calvin Harris featuring guest vocals from Barbadian singer Rihanna. It was released on 29 April 2016, through Columbia Records and Westbury Road. The song was written by Harris and American singer-songwriter Taylor Swift, who was initially credited with the pseudonym Nils Sjöberg. Rihanna and Harris had previously collaborated on her sixth studio album, "Talk That Talk", which included the international chart-topper "We Found Love" and US top five single "Where Have You Been", the former of which was written and produced by Harris. He played the final version for Rihanna at the 2016 Coachella Music Festival. It was also played at the 2018 FIFA World Cup Final after the conclusion of the match.
This Is What You Came For
The single debuted at number two on the UK Singles Chart. It peaked at number three on the US "Billboard" Hot 100, becoming Rihanna's 21st top-five song and Harris's second; the song is currently Harris's highest peaking single as a lead artist. It became Rihanna's 25th and Harris's fourth chart-topper on the Dance Club Songs and also reached number one on the US Hot Dance/Electronic Songs; the single became the 12th number one for Rihanna and Harris's tenth on the sister chart Dance/Mix Show Airplay. It topped the charts in Australia, Canada, and the Republic of Ireland and peaked within the top ten of the charts in Germany, New Zealand and Switzerland.
Where Have You Been
"Where Have You Been" is a song by Barbadian singer Rihanna, from her sixth studio album, "Talk That Talk" (2011) serving as the fifth single. The song was written by Ester Dean, Geoff Mack, Lukasz "Dr. Luke" Gottwald, Henry "Cirkut" Walter, and Calvin Harris, with production handled by the latter three. "Where Have You Been" was released as the third international single on May 8, 2012. The track is a dance-pop and techno house song that draws influence from trance, R&B and hip hop. It is backed by "hard, chilly synths" and contains an electro-inspired breakdown sequence. The song's lyrics interpolate Geoff Mack's 1959 song "I've Been Everywhere" and speak of a woman who is searching for a partner who will sexually please her.
Where Have You Been
"Where Have You Been" was met with positive reviews from most music critics, who likened the song to "Talk That Talk"'s lead single, "We Found Love". The track performed well on major international charts. In the United States, "Where Have You Been" reached number five on the "Billboard" Hot 100, marking Rihanna's twenty-second top ten single on the chart. It also peaked at number one in Mexico, on both the US Dance Club Songs and UK Dance Chart, and at number three on the US Pop Songs chart. In addition, it attained top five positions in the Czech Republic, Denmark, France, Israel, New Zealand and the United Kingdom, while peaking in the top ten of charts in twenty countries worldwide including Australia, Belgium and Norway. The song is certified Platinum or higher in eight countries.

Question:  "This Is What You Came For" is a song by Scottish DJ and record producer Calvin Harris, featuring Barbadian singer Rihanna, Rihanna and Harris had previously collaborated on her sixth studio album, serving as the fifth single, Where Have You Been, released in what year? 
Answer: 2011