title: How to download json data from multiple url's in r
body: <p>I would like to download multiple data files in r from multiple urls, where only the number changes. I succesfully downloaded this code, but i need to download a string of numbers (e.g. 29208, 49510, 54604   62759,62760,7002,38175) which have to replace 29208 in the url. I am a total newbie, and eventhough I have read and seen some examples, I cannot seem to write the right code.</p>
  <pre><code>install.packages(&quot;jsonlite&quot;)
  library(jsonlite)
  
  df &lt;- fromJSON('https://api.euroinvestor.dk/instruments/29208/closeprices?fromDate=1970-1-1')
  </code></pre>