style="list-style-type: decimal">
<li>Downloads data from Google Analytics</li>
<li>Uploads the data to BigQuery</li>
<li>Uploads the data to Google Cloud Storage</li>
<li>Sends an email giving the daily total</li>
</ol>
<p>Log into your RStudio Server instance and create the following script:</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb4-1" data-line-number="1"><span class="kw"><a href="https://rdrr.io/r/base/library.html">library</a