open-research-data-template

GitHub template for FAIR and open research data

https://github.com/maehr/open-research-data-template

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary

Keywords

fair github-pages open-data open-research-data open-science ord repository-pattern template template-repository
Last synced: 4 months ago · JSON representation ·

Repository

GitHub template for FAIR and open research data

Basic Info
Statistics
  • Stars: 20
  • Watchers: 2
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Topics
fair github-pages open-data open-research-data open-science ord repository-pattern template template-repository
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Security

README.md

GitHub template for FAIR and open research data

This GitHub template is independent of the (research) data and its format. It follows the best practices for open research data as outlined in The Turing Way. It uses GitHub Actions to manage releases, issues, and pull requests, GitHub Pages for documentation, and Zenodo for long-term archiving.

GitHub issues GitHub forks GitHub stars Code license Data license DOI

Why use a template (even for small datasets)?

How this template helps you

Open research data

  • Citeable via DOI (and CITATION.cff)
  • Automatic long-term archiving via Zenodo
  • Licensed under a non-restrictive AGPL 3.0 and CC BY 4.0 license according to The Turing Way
  • Templates for reporting data issues using a custom template github/ISSUE_TEMPLATE/data_issue_report.yml

Documentation

Consistency

Security

Ethics

Installation

We recommend using GitHub Codespaces for a reproducible setup.

Getting Started

For Most Users: Reproducible Setup with GitHub Codespaces

  1. Use this template for your project in a new repository on your GitHub account.

Use the repository

  1. Click the green <> Code button at the top right of this repository.

  2. Select the “Codespaces” tab and click “Create codespace on main. GitHub will now build a container that includes:

    • ✅ Node.js (via npm)
    • ✅ Python with uv
    • ✅ R with renv
    • ✅ Quarto

Create Codespace

  1. Once the Codespace is ready, open a terminal and preview the documentation:

bash uv run quarto preview

Terminal window showing command

Note: All dependencies (Node.js, Python, R, Quarto) are pre-installed in the Codespace.

👩‍💻 Advanced Local Installation #### Prerequisites - [Node.js](https://nodejs.org/en/download/) - [R](https://cran.r-project.org/) and Rtools (on Windows) - [uv (Python manager)](https://github.com/astral-sh/uv#installation) - [Quarto](https://quarto.org/docs/get-started/) > _Note: `uv` installs and manages the correct Python version automatically._ #### Local Setup Steps ```bash # 1. Install Node.js dependencies npm install npm run prepare # 2. Setup Python environment uv sync # 3. Setup R environment Rscript -e 'install.packages("renv"); renv::restore()' # 4. Preview documentation uv run quarto preview ```

Project Setup Checklist (for all users)

After creating your project from this template (either via Codespaces or local setup), complete the following steps to customize and finalize your project:

  • [ ] Enable GitHub Security Alerts: Go to your repository's "Security" tab on GitHub and enable security alerts.
  • [ ] Protect the Main Branch: In your repository settings on GitHub (under "Branches"), protect your main branch.
  • [ ] Update Project Details: Replace placeholders like FULLNAME, USERNAME, REPO_NAME, SHORT_DESCRIPTION, and [INSERT CONTACT METHOD] in .github/ISSUE_TEMPLATE/config.yml, _brand.yml, CODE_OF_CONDUCT.md, package.json, README.template.md, and SECURITY.md.
  • [ ] Set Up Zenodo Integration: Follow the Zenodo guide to connect your repository to Zenodo for long-term archiving and to get a DOI.
  • [ ] Set Up Zenodo DOI Badge: Replace GITHUB_REPO_ID with idfrom https://api.github.com/repos/USERNAME/REPO_NAME. This will automatically update with your Zenodo DOI once you make a release.
  • [ ] Add Zenodo DOI to README: Once you have your Zenodo DOI, add it to the README.md file by replacing ZENODO_RECORD.
  • [ ] Add Favicons: Add favicons to the root directory (see favicon.io).
  • [ ] Address TODOs: Search for TODO comments throughout the project files and complete the tasks.
  • [ ] Finalize README: Delete this README.md and rename README.template.md to README.md.
  • [ ] Format Files: Run npm run format to ensure all files are formatted.
  • [ ] Commit Changes: Run npm run commit to save your changes with a standardized commit message.
  • [ ] Generate Changelog: Run npm run changelog and copy the output into the CHANGELOG.md file.
  • [ ] Customize Documentation: Customize your documentation using Quarto's features.
  • [ ] Enable GitHub Pages: In your repository settings on GitHub (under "Pages"), configure GitHub Pages to publish from the gh-pages branch.
  • [ ] Publish Documentation: Run quarto publish gh-pages to publish your documentation website.

Optional:

Use

Check that all files are properly formatted.

bash npm run check

Format all files.

bash npm run format

Run the wizard to write meaningful commit messages.

bash npm run commit

Run the wizard to create a CHANGELOG.md.

bash npm run changelog

Preview the documentation.

bash quarto preview

Support

This project is maintained by @maehr. Please understand that we can't provide individual support via email. We also believe that help is much more valuable when it's shared publicly, so more people can benefit from it.

| Type | Platforms | | -------------------------------------- | -------------------------------------------------------------------------------------- | | 🚨 Bug Reports | GitHub Issue Tracker | | 📊 Report bad data | GitHub Issue Tracker | | 📚 Docs Issue | GitHub Issue Tracker | | 🎁 Feature Requests | GitHub Issue Tracker | | 🛡 Report a security vulnerability | See SECURITY.md | | 💬 General Questions | GitHub Discussions |

Roadmap

There are currently no changes planned.

Contributing

Please see CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

Authors and credits

See also the list of contributors who contributed to this project.

License

The data in this repository is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) License - see the LICENSE-CCBY file for details. By using this data, you agree to give appropriate credit to the original author(s) and to indicate if any modifications have been made.

The code in this repository is released under the GNU Affero General Public License v3.0 - see the LICENSE-AGPL file for details. By using this code, you agree to make any modifications available under the same license.

Owner

  • Name: Moritz Mähr
  • Login: maehr
  • Kind: user
  • Location: Bern & Basel
  • Company: @DHBern & @Stadt-Geschichte-Basel

#DH #STS #NLP #SNA #graphs #DigitalHistory #HistoryOfComputing 👷 associate researcher @DHBern and digital lead @Stadt-Geschichte-Basel

Citation (CITATION.cff)

# Go to https://citation-file-format.github.io/ to learn more about the Citation File Format.

GitHub Events

Total
  • Issues event: 6
  • Watch event: 1
  • Delete event: 5
  • Issue comment event: 11
  • Push event: 30
  • Pull request review comment event: 17
  • Pull request review event: 19
  • Pull request event: 18
  • Fork event: 2
  • Create event: 7
Last Year
  • Issues event: 6
  • Watch event: 1
  • Delete event: 5
  • Issue comment event: 11
  • Push event: 30
  • Pull request review comment event: 17
  • Pull request review event: 19
  • Pull request event: 18
  • Fork event: 2
  • Create event: 7

Committers

Last synced: almost 2 years ago

All Time
  • Total Commits: 10
  • Total Committers: 2
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.3
Past Year
  • Commits: 10
  • Committers: 2
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.3
Top Committers
Name Email Commits
Moritz Mähr m****r@g****m 7
Moritz Mähr m****r 3

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 13
  • Total pull requests: 19
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 0.38
  • Average comments per pull request: 1.84
  • Merged pull requests: 17
  • Bot issues: 2
  • Bot pull requests: 1
Past Year
  • Issues: 3
  • Pull requests: 9
  • Average time to close issues: 15 minutes
  • Average time to close pull requests: 4 days
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 0.67
  • Average comments per pull request: 1.33
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • maehr (8)
  • coderabbitai[bot] (2)
  • mtwente (1)
Pull Request Authors
  • maehr (27)
  • mtwente (2)
  • dependabot[bot] (1)
Top Labels
Issue Labels
enhancement (3) documentation (3)
Pull Request Labels
dependencies (1)

Dependencies

pnpm-lock.yaml npm
  • 190 dependencies
.github/workflows/changelog.yaml actions
  • actions/checkout v3 composite
  • orhun/git-cliff-action v2 composite
.github/workflows/greetings.yml actions
  • actions/first-interaction v1 composite
package.json npm
  • commitizen ^4.3.0 development
  • cz ^1.8.2 development
  • cz-conventional-changelog ^3.3.0 development
  • git-cliff ^1.1.2 development
  • husky ^8.0.3 development
  • prettier ^2.8.4 development
.github/workflows/quarto-publish.yml actions
  • actions/checkout v4 composite
  • quarto-dev/quarto-actions/publish v2 composite
  • quarto-dev/quarto-actions/setup v2 composite