https://github.com/annakrystalli/test-hub-dashboard
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.0%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: annakrystalli
- License: cc0-1.0
- Default Branch: main
- Homepage: https://annakrystalli.me/test-hub-dashboard/
- Size: 1.26 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Template Hubverse Dashboard Repository
Quickstart
Use this template to create a dashboard repository for your hub and then do the following:
- Add markdown content to
pages/ - Update
site-config.ymli.hubis the github slug for your active hub. This example defaults to the CDC FluSight hub ii.titleis the title of your dashboard iii.pagesis a list of pages you want included in the top bar after the home page (index.html) and forecasts (forecast.html). - Update
predtimechart-config.ymlaccording to the instructions at hub_predtimechart. - (Optional) Add
predevals-config.ymlif you have oracle output that you can use to generate predevals data. (See reichlab/flusight-dashboard for an example).
Once these steps are performed, the workflows will automatically generate the website on the gh-pages branch on your behalf. Once this branch is created, you can activate your website to deploy from this branch.
[!NOTE]
At the moment, the first time you create your repository, you will need to manually switch on your github pages by going to
<repo>/settings/pagesand selectinggh-pagesas the branch to deploy from:
Configuration
PredTimeChart Forecasts Visualization
Edit the predtimechart-config.yml file to match your hub schema.
TODO: update this with useful information.
Dashboard Website
Configuration
The site-config.yml Is a simplified form of A Quarto Website. This simplified form is intended to allow you to set up a dashboard website in a manner of minutes while allowing for flexibility of theme.
A simple configuration is presented in the template site-config.yml file
with three keys:
- hub: the GitHub slug to your active hub that contains quantile forecast data
- title: the title of your hub dashboard website
- pages: a YAML array that lists files relative to the
pagesdirectory that should be included in the dashboard site. The name of each page is encoded in thetitle:element of the file header (but this can be overridden with site customization).
Other than the hub field all remaining fields have the following mapping equivalents in the Quarto configuration file:
| site-config.yml | _quarto.yml |
| ------------------ | ------------- |
| .title | .website.title |
| .pages | .website.navbar.left |
| .html (optional) | .format.html |
Customization
When the page is built with the hub dashboard site builder, this configuration file is merged with the default quarto config file. This allows for customization of the page. Below are examples of customization.
Icons added to pages
You can add icons to the page title bars with a YAML map. If you wanted to add an icon of people for the "about" page, you would use .pages.icon: "people-fill"
yaml
pages:
- icon: "people-fill"
href: "about.md"
- icon: "mortarboard-fill"
href: "citation.md"
Theme
The default site is built on top of the Bootstrip yeti theme with custom CSS.
If you wanted to use a different theme, you can change it by setting .html.theme. You can reset the css by setting .html.css: null
yaml
html:
theme: "litera"
css: null
Contents
If you wanted to add custom HTML to appear at the bottom or top of every page,
you can use .html.include-after-body or .html.include-before-body. Remeber
that all resources are relative to the pages/ directory, so if you wanted
to include an HTML snippet at the end of every page you would:
- add a file called
resources/after-body.htmlintopages/ - add this to your yaml:
yaml html: include-after-body: "resources/after-body.html"
Owner
- Name: Anna Krystalli
- Login: annakrystalli
- Kind: user
- Location: Syros, Greece
- Company: @r-rse
- Website: https://www.r-rse.eu
- Twitter: annakrystalli
- Repositories: 240
- Profile: https://github.com/annakrystalli
Research Software Engineering Service in #rstats at @r-rse. Ex @RSE-Sheffield. Editor @ropensci. Core team member @reprohack. Available for hire! 🚀😎
GitHub Events
Total
- Push event: 16
- Create event: 3
Last Year
- Push event: 16
- Create event: 3
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Anna Krystalli | a****i@g****m | 6 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
