https://github.com/agrifooddatacanada/shiny_verifier

Integration of OCA Composer into Shiny for data verification

https://github.com/agrifooddatacanada/shiny_verifier

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
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Integration of OCA Composer into Shiny for data verification

Basic Info
  • Host: GitHub
  • Owner: agrifooddatacanada
  • License: eupl-1.2
  • Language: R
  • Default Branch: main
  • Size: 257 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

Note: This application is currently under active development. Features and functionality may change as development progresses.

Shiny Verifier

A Shiny application for verifying data against predefined schemas using an embedded React-based verifier.

Overview

The Shiny Verifier is a web application that allows users to: - Select from predefined schema definitions - Upload and verify data against the selected schema - View verification results in an interactive interface

The application uses a modern UI built with bs4Dash and integrates with the OCA Composer for data verification. OCA (Overlays Capture Architecture) is an international open standard for writing data schemas, developed by the Human Colossus Foundation.

Features

  • Modern, responsive UI using bs4Dash
  • Schema selection from predefined templates
  • Real-time data verification
  • Interactive verification results display
  • Support for multiple data formats
  • Integration with OCA Composer for schema verification
  • Local data processing (data never leaves the user's computer)

Prerequisites

  • R (version 4.0.0 or higher)
  • RStudio (recommended)
  • renv package manager

Installation

  1. Clone the repository: bash git clone https://github.com/agrifooddatacanada/shiny_verifier.git

  2. Restore the project dependencies using renv: ```R

    Install renv if not already installed

    install.packages("renv")

Restore the project environment

renv::restore() ```

  1. Create a .Renviron file in the project root with the following content: OCA_COMPOSER_URL=[your-oca-composer-url]

For example: OCA_COMPOSER_URL=https://my-oca-composer-url.ca

Or, if running a dev instance of OCA Composer locally: OCA_COMPOSER_URL=http://localhost:3000

Note: Only include the base URL in the .Renviron file. The /oca-data-validator path is automatically appended in the application code.

Usage

  1. Start the application: R shiny::runApp()

  2. In the application:

    • Select a schema from the dropdown menu
    • Click "Submit" to begin verification
    • View verification results in the interactive interface

Development Status

This application is currently under active development. Features and functionality may change as development progresses.

The application is developed with support from Agri-food Data Canada, funded by CFREF through the Food from Thought grant held at the University of Guelph.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the European Union Public Licence (EUPL) v1.2. For more information, see the EUPL-1.2 license file.

The EUPL is a copyleft license that allows for the free use, modification, and distribution of the software, with the requirement that any modifications or derivative works must also be licensed under the EUPL.

GitHub Events

Total
  • Member event: 1
  • Push event: 17
  • Pull request event: 8
  • Create event: 4
Last Year
  • Member event: 1
  • Push event: 17
  • Pull request event: 8
  • Create event: 4