title: Get results from Ajax call
body: <p>Maybe this is a really stupid question but I want to use an ajax call and work with the result in R. Here is the call from www.randomuser.me:</p>
  
  <pre><code>$.ajax({
    url: 'https://randomuser.me/api/?format=csv?results=5000',
    dataType: 'json',
    success: function(data) {
      console.log(data);
    }
  });
  </code></pre>
  
  <p>So what is the easiest way for me to save the csv so I can then work with it in R? Is that possible directly in R? I would really appreciate a low level answer (I have no idea what jQuery etc. is)</p>