Skip to content

Commit

Permalink
Render site
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Mar 6, 2024
1 parent 72e4e0a commit 058bf0b
Show file tree
Hide file tree
Showing 43 changed files with 89 additions and 10,210 deletions.
4 changes: 2 additions & 2 deletions docs/calendly.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@


<h1 class="title toc-ignore">Calendly</h1>
<h4 class="date">28 February, 2024</h4>
<h4 class="date">06 March, 2024</h4>

</div>

Expand All @@ -319,7 +319,7 @@ <h2>Setting up Calendly</h2>
<div id="preview" class="section level2">
<h2>Preview</h2>
<pre><code>## Rows: 1 Columns: 8
## ── Column specification ────────────────────────────────────────────────────────────────────────────────────────
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: &quot;\t&quot;
## chr (4): event_type, name, status, uri
## dttm (4): created_at, end_time, start_time, updated_at
Expand Down
16 changes: 8 additions & 8 deletions docs/cran.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@


<h1 class="title toc-ignore">CRAN</h1>
<h4 class="date">28 February, 2024</h4>
<h4 class="date">06 March, 2024</h4>

</div>

Expand All @@ -319,19 +319,18 @@ <h2>Setting up CRAN</h2>
<div id="preview" class="section level2">
<h2>Preview</h2>
<pre class="r"><code>library(tidyverse)</code></pre>
<pre><code>## Warning: package &#39;tidyr&#39; was built under R version 4.3.2</code></pre>
<pre><code>## ── Attaching core tidyverse packages ──────────────────────────────────────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.4 ✔ readr 2.1.4
<pre><code>## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.4 ✔ readr 2.1.5
## ✔ forcats 1.0.0 ✔ stringr 1.5.1
## ✔ ggplot2 3.4.3 ✔ tibble 3.2.1
## ✔ ggplot2 3.5.0 ✔ tibble 3.2.1
## ✔ lubridate 1.9.3 ✔ tidyr 1.3.1
## ✔ purrr 1.0.2
## ── Conflicts ────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag() masks stats::lag()
## ℹ Use the conflicted package (&lt;http://conflicted.r-lib.org/&gt;) to force all conflicts to become errors</code></pre>
<pre><code>## Rows: 745 Columns: 3
## ── Column specification ────────────────────────────────────────────────────────────────────────────────────────
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: &quot;\t&quot;
## chr (1): package
## dbl (1): count
Expand All @@ -357,7 +356,8 @@ <h2>Preview</h2>
group_by(Month, package) %&gt;%
summarise(monthly_downloads = sum(count)) %&gt;% #summarize monthly downloads by package
filter(monthly_downloads &gt; 0) #drop the 0&#39;s </code></pre>
<pre><code>## `summarise()` has grouped output by &#39;Month&#39;. You can override using the `.groups` argument.</code></pre>
<pre><code>## `summarise()` has grouped output by &#39;Month&#39;. You can override using the
## `.groups` argument.</code></pre>
<pre class="r"><code>ggplot(cran_stats, aes(Month, monthly_downloads, group=package, color = package)) +
geom_line() +
geom_point() +
Expand Down
Binary file modified docs/cran_files/figure-html/unnamed-chunk-4-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/github.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@


<h1 class="title toc-ignore">GitHub</h1>
<h4 class="date">28 February, 2024</h4>
<h4 class="date">06 March, 2024</h4>

</div>

Expand All @@ -319,7 +319,7 @@ <h2>Setting up GitHub</h2>
<div id="preview" class="section level2">
<h2>Preview</h2>
<pre><code>## Rows: 2 Columns: 6
## ── Column specification ────────────────────────────────────────────────────────────────────────────────────────
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: &quot;\t&quot;
## chr (1): repo_name
## dbl (4): num_contributors, total_contributions, num_stars, health_percentage
Expand Down
10 changes: 5 additions & 5 deletions docs/googleanalytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@


<h1 class="title toc-ignore">Google Analytics</h1>
<h4 class="date">28 February, 2024</h4>
<h4 class="date">06 March, 2024</h4>

</div>

Expand All @@ -319,23 +319,23 @@ <h2>Setting up Google Analytics</h2>
<div id="preview" class="section level2">
<h2>Preview</h2>
<pre><code>## Rows: 2 Columns: 10
## ── Column specification ────────────────────────────────────────────────────────────────────────────────────────
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: &quot;\t&quot;
## chr (1): website
## dbl (9): activeUsers, newUsers, totalUsers, eventCountPerUser, screenPageViewsPerUser, sessions, averageSess...
## dbl (9): activeUsers, newUsers, totalUsers, eventCountPerUser, screenPageVie...
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
## Rows: 5 Columns: 6
## ── Column specification ────────────────────────────────────────────────────────────────────────────────────────
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: &quot;\t&quot;
## chr (4): website, month, country, fullPageUrl
## dbl (2): day, year
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
## Rows: 3 Columns: 2
## ── Column specification ────────────────────────────────────────────────────────────────────────────────────────
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: &quot;\t&quot;
## chr (2): website, linkUrl
##
Expand Down
30 changes: 15 additions & 15 deletions docs/googleforms.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@


<h1 class="title toc-ignore">Google Forms</h1>
<h4 class="date">28 February, 2024</h4>
<h4 class="date">06 March, 2024</h4>

</div>

Expand All @@ -322,35 +322,35 @@ <h2>Preview</h2>
<div id="preview-1" class="section level2">
<h2>Preview</h2>
<pre><code>## Rows: 4 Columns: 3
## ── Column specification ────────────────────────────────────────────────────────────────────────────────────────
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: &quot;\t&quot;
## chr (3): reponse_id, X103e69c2_answers, X7a10555e_answers
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
## Rows: 4 Columns: 3
## ── Column specification ────────────────────────────────────────────────────────────────────────────────────────
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: &quot;\t&quot;
## chr (3): reponse_id, X103e69c2_answers, X7a10555e_answers
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.</code></pre>
<pre class="r"><code>googleform_1</code></pre>
<pre><code>## # A tibble: 4 × 3
## reponse_id X103e69c2_answers X7a10555e_answers
## &lt;chr&gt; &lt;chr&gt; &lt;chr&gt;
## 1 ACYDBNh5anwjnKXjVUMA6E0yxnwEIZYhatDkyAMppk3k4gITBFhwdDEbL6GldJjNPigPH8s Here&#39;s another real… Option B
## 2 ACYDBNifvH8F3H9as35PWPwQapCyaUyRQnXiv2HFOXV1oeTyxAuj77-JJk5eMYkCNSNYZZs Here&#39;s some more wo… Option A
## 3 ACYDBNh5anwjnKXjVUMA6E0yxnwEIZYhatDkyAMppk3k4gITBFhwdDEbL6GldJjNPigPH8s Here&#39;s another real… Option B
## 4 ACYDBNifvH8F3H9as35PWPwQapCyaUyRQnXiv2HFOXV1oeTyxAuj77-JJk5eMYkCNSNYZZs Here&#39;s some more wo… Option A</code></pre>
## reponse_id X103e69c2_answers X7a10555e_answers
## &lt;chr&gt; &lt;chr&gt; &lt;chr&gt;
## 1 ACYDBNh5anwjnKXjVUMA6E0yxnwEIZYhatDkyAMpp… Here&#39;s another r… Option B
## 2 ACYDBNifvH8F3H9as35PWPwQapCyaUyRQnXiv2HFO… Here&#39;s some more… Option A
## 3 ACYDBNh5anwjnKXjVUMA6E0yxnwEIZYhatDkyAMpp… Here&#39;s another r… Option B
## 4 ACYDBNifvH8F3H9as35PWPwQapCyaUyRQnXiv2HFO… Here&#39;s some more… Option A</code></pre>
<pre class="r"><code>googleform_2</code></pre>
<pre><code>## # A tibble: 4 × 3
## reponse_id X103e69c2_answers X7a10555e_answers
## &lt;chr&gt; &lt;chr&gt; &lt;chr&gt;
## 1 ACYDBNgHfXMXKJ7Z8VQe87e-IrBdrBad0mBWjO1UHYKQys7QX1q_Y69kp1cKcGdI_eueSgA Here&#39;s a really coo… Option A
## 2 ACYDBNgdPc1CkWX1dDycG2cYILE9SLdABPfcRox8WVess33sivSwMvtPxLcLAHWzHsybxnM Here&#39;s a really com… Option B
## 3 ACYDBNgHfXMXKJ7Z8VQe87e-IrBdrBad0mBWjO1UHYKQys7QX1q_Y69kp1cKcGdI_eueSgA Here&#39;s a really coo… Option A
## 4 ACYDBNgdPc1CkWX1dDycG2cYILE9SLdABPfcRox8WVess33sivSwMvtPxLcLAHWzHsybxnM Here&#39;s a really com… Option B</code></pre>
## reponse_id X103e69c2_answers X7a10555e_answers
## &lt;chr&gt; &lt;chr&gt; &lt;chr&gt;
## 1 ACYDBNgHfXMXKJ7Z8VQe87e-IrBdrBad0mBWjO1UH… Here&#39;s a really … Option A
## 2 ACYDBNgdPc1CkWX1dDycG2cYILE9SLdABPfcRox8W… Here&#39;s a really … Option B
## 3 ACYDBNgHfXMXKJ7Z8VQe87e-IrBdrBad0mBWjO1UH… Here&#39;s a really … Option A
## 4 ACYDBNgdPc1CkWX1dDycG2cYILE9SLdABPfcRox8W… Here&#39;s a really … Option B</code></pre>
</div>


Expand Down
40 changes: 38 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,47 @@ <h1 class="title toc-ignore"><strong>metricminer</strong></h1>
</div>


<p><img src = "resources/images/metricminer-gnome.png" width = 200></p>
<div id="getting-started" class="section level2">
<h2>Getting Started!</h2>
<p>This is a templated demo website that you can use to display your own
metrics!</p>
<p><img src = "resources/images/metricminer-gnome.png" width = 200></p>
<p><a href="https://loqui.fredhutch.org/">Video made with Loqui</a></p>
<div id="setting-up-your-dashboard-repository" class="section level3">
<h3>Setting up your dashboard repository</h3>
<ol style="list-style-type: decimal">
<li>To get started, go to the <a
href="https://github.com/fhdsl/metricminer-dashboard">metricminer-dashboard
template GitHub repo</a></li>
<li>Click the green “Use this template” button in the upper right
corner. If you do not see it, make sure you are logged in to GitHub (and
have an account).</li>
<li>Name your new metricminer dashboard repository on this screen. Then
click “Create new repository”.</li>
<li>Create your GitHub secret by going to <a
href="https://github.com/settings/tokens/new"
class="uri">https://github.com/settings/tokens/new</a></li>
<li>Make sure your GitHub secret has the <code>repo</code> scopes box
checked. Name it something that will remind you it has to do with your
metricminer dashboard and then scroll to the bottom and click “Generate
Token”. Keep this page open for now.</li>
<li>Return to your metricminer dashboard repository and go to Settings
&gt; Secrets and variables &gt; Actions.</li>
<li>Click on <code>New repository secret</code>. Name your new secret
<em>exactly</em> METRICMINER_GITHUB_PAT.</li>
<li>Copy and paste your Personal access token in the <code>Secret</code>
box and then click the green “Add secret” button.</li>
</ol>
</div>
<div id="setting-up-your-config-so-metrics-will-be-retrieved"
class="section level3">
<h3>Setting up your config so metrics will be retrieved</h3>
<ol style="list-style-type: decimal">
<li>Return to the <code>Code</code> on your metricminer dashboard github
repository. And find the <code>_config_automation.yml</code> github
file.</li>
<li>Open up that file and</li>
</ol>
<hr />
<p>This work is funded by NCI UE5CA254170 as a part of the <a
href="https://www.itcrtraining.org/">ITCR Training Network</a></p>
<!-- Google tag (gtag.js) -->
Expand All @@ -332,6 +367,7 @@ <h2>Getting Started!</h2>
<p><a href="https://www.metricminer.org/privacypolicy.html">See privacy
policy</a></p>
</div>
</div>



Expand Down
13 changes: 11 additions & 2 deletions docs/refresh-scripts/refresh-github.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,35 @@ auth_from_secret("github", token = Sys.getenv("METRICMINER_GITHUB_PAT"))

# Read the data
gh_metrics <- get_multiple_repos_metrics(repo_names = yaml$github_repos)
gh_timecourse <- get_multiple_repos_metrics(repo_names = yaml$github_repos, time_course = TRUE)

setup_folders(
folder_path = folder_path,
google_entry = "github_googlesheet",
config_file = yaml_file_path,
config_file = yaml_file_path,
data_name = "github"
)

yaml <- yaml::read_yaml(yaml_file_path)

if (yaml$data_dest == "google") {
googlesheets4::write_sheet(gh_metrics,
ss = yaml$gh_googlesheet
ss = yaml$gh_googlesheet,
sheet = "overall_stats"
)
googlesheets4::write_sheet(gh_timecourse,
ss = yaml$gh_googlesheet,
sheet = "timecourse"
)
}

if (yaml$data_dest == "github") {
readr::write_tsv(gh_metrics,
file.path(folder_path, "github.tsv")
)
readr::write_tsv(gh_timecourse,
file.path(folder_path, "github_timecourse.tsv")
)
}

sessionInfo()
27 changes: 0 additions & 27 deletions docs/site_libs/crosstalk-1.1.0.1/css/crosstalk.css

This file was deleted.

Loading

0 comments on commit 058bf0b

Please sign in to comment.