title: Next page token R Google Places API
body: <p>I am attempting to get restaurant details from the Google places API in R. I can successfully get the 20 results that Google provides however I realize that as it returns a <code>next_page_token</code>, then this means there are other results (which is logical is there are more than 20 restaurants around the 50km radius of the location I am searching). However when I use <code>next_page_token</code> it returns <code>NULL</code>. 
  Here is my code:</p>
  
  <pre><code>install.packages("googleway")
  library(googleway)
  
  key &lt;- 'my key'
  
  df_places &lt;- google_places(search_string = "restaurant", 
                         location = c(-33, 151),
                         page_token = "next_page_token",
                         radius = 50000,
                         key = key)
  df_places$results$name
  df_places$results$rating
  df_places$results$formatted_address
  df_places$results$geometry$location
  </code></pre>
  
  <p>And here is what it returns without <code>next_page_token</code>:</p>
  
  <pre><code> [1] "Gennaro's Italian Restaurant"                   
   [2] "Mount Broke Wines &amp; Restaurant"                 
   [3] "Oak Dairy Bar"                                  
   [4] "Bimbadgen"                                      
   [5] "Subway Restaurant"                              
   [6] "Muse Restaurant"                                
   [7] "Ocean Restaurant"                               
  </code></pre>
  
  <p>etc...</p>
  
  <p>Here is what it returns with <code>next_page_token</code>:</p>
  
  <pre><code>&gt; df_places$results$name
  NULL
  </code></pre>
  
  <p>Just wondering what I am doing wrong to repeatedly return <code>NULL</code>?</p>