title: Dynamic queries with BigQuery from R
body: <p>I want to subset my data based on a list of items I'm looping through, and add the item that is currently indexed to the query I'm sending to BigQuery from <code>R</code>.</p>
  
  <pre><code>ex.
  Item
  001
  002
  003
  
  i=2 =&gt; item '002'
  </code></pre>
  
  <p>instead of having to manually put <code>002</code>, I want to be able to construct the following query:</p>
  
  <pre><code>sql_string &lt;- "SELECT * FROM MAN WHERE item_code = item[i]"
  </code></pre>
  
  <p>But currently, I have an argument type mismatch. Could someone show me how this is done through the <code>bigrquery</code> package?</p>