title: How to parse specific information of a XML file when the information is inside the brackets using R?
body: <p>I'm using R and I'm trying to parse information from a XML file into a DataFrame. The problem is that I know how to do it when the information is between the brackets like this: 
  <code>&lt;Person&gt;&lt;Name&gt; Marcos &lt;/Name&gt;&lt;/Person&gt;</code>
  but the XML I'm working with has the information inside the brackets, as an atribute:</p>
  
  <pre><code>&lt;Games timestamp="2017-08-29T15:26:24"&gt;
    &lt;Game id="942799" away_score="0" away_team_id="449" away_team_name="Villarreal" competition_id="23" competition_name="Spanish La Liga" game_date="2017-08-21T19:15:00" home_score="1" home_team_id="855" home_team_name="Levante" matchday="1" period_1_start="2017-08-21T19:15:40" period_2_start="2017-08-21T20:18:02" season_id="2017" season_name="Season 2017/2018"&gt;
      &lt;Event id="1615184504" event_id="1" type_id="34" period_id="16" min="0" sec="0" team_id="855" outcome="1" x="0.0" y="0.0" timestamp="2017-08-21T18:10:10.82" last_modified="2017-08-21T19:16:17" version="1503339377339"&gt;
        &lt;Q id="2065887850" qualifier_id="227" value="0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" /&gt;
        &lt;Q id="2021905255" qualifier_id="30" value="49214, 105525, 77039, 152551, 90400, 169201, 88952, 196739, 91953, 163784, 165375, 78323, 54224, 49442, 181859, 42844, 194764, 83564" /&gt;
        &lt;Q id="1295835216" qualifier_id="59" value="1, 2, 3, 8, 15, 6, 24, 10, 17, 23, 11, 5, 7, 13, 14, 19, 21, 22" /&gt;
        &lt;Q id="1289404134" qualifier_id="44" value="1, 2, 2, 3, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5" /&gt;
        &lt;Q id="1475702012" qualifier_id="130" value="4" /&gt;
        &lt;Q id="1510724498" qualifier_id="197" value="1584" /&gt;
        &lt;Q id="1735470938" qualifier_id="194" value="165375" /&gt;
        &lt;Q id="1307709006" qualifier_id="131" value="1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 0, 0, 0, 0, 0, 0" /&gt;
      &lt;/Event&gt;
    &lt;/Game&gt;
  &lt;/Games&gt;
  </code></pre>
  
  <p>Could you help me work with this information? I need to extract, for example, the qualifier_id and value.</p>
  
  <p>Thanks in advance.</p>