0

I want to insert a string into an url

library(RCurl)
myfile <- getURL('http://www.football-data.co.uk/mmz4281/',INSERT_STRING_HERE,'/E0.csv')

Is there a way to insert string into an url? Thank you

Roy187
  • 9
  • 3
  • Just `paste()` it in, like any other string concatenation in R. – MrFlick May 19 '17 at 22:37
  • I followed this example http://stackoverflow.com/questions/23902013/assigning-variables-to-the-get-http-request-in-r and it works, thanks – Roy187 May 19 '17 at 22:52

0 Answers0