How to extract information from the NY Times Api?
<p>I would like to extract information from the NY Times Api via <code>library(rtimes)</code>.
The api call returns a list of 3, which seems to contaion the informtion I require in a inaccessible way, for an R newbie.</p>

<pre><code>install.packages("rtimes")
require(rtimes)
# Here I use the Key provides by the New York Times
api &lt;- "[redacted]" 

# I create an empty vector to append required information to it,
mylist &lt;- c()
 # The default article api call for "Crisis"
NY_terror&lt;- as_search(q="Crisis",
                  begin_date = '20110101', 
                  end_date ='20110201',
                  fl=c("pub_date","headline","keywords","abstract","_id"),
                  facet_field=c("section_name"),
                  key = api)

  #Here I extract the data. At least I believe that
 mylist&lt;- append(mylist, unlist(NY_terror$data))    
</code></pre>

<p>But I just end with one required column "pub_date" as well as the freq. count of the corresponding keyword. May I ask how to produce a data frame with column defined in <code>fl</code>and <code>face_field</code>.</p>

<p>So the desired output should look something like:</p>

<pre><code> id  section_name         pub_date      headline  keywords  abstract

  ...      Politics       2011-01-01      MAMBA      ...     ...   
                                         posted
                                         API Key
</code></pre>