oca_composer
Science Score: 44.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
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.3%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: agrifooddatacanada
- License: eupl-1.2
- Language: JavaScript
- Default Branch: dev
- Size: 2.49 MB
Statistics
- Stars: 5
- Watchers: 1
- Forks: 5
- Open Issues: 5
- Releases: 1
Metadata Files
README.md
OCA Composer
Overlays Capture Architecture (OCA) is an international open standard for writing data schemas. Schemas are a type of documentation that describe the structure and rules for a dataset. The OCA standard is a machine-readable schema standard that is hosted by the Human Colossus Foundation.
Agri-food Data Canada at the University of Guelph has developed the OCA Composer as a tool to help researchers document their data using the OCA standard. The OCA Composer runs in a web browser and presents a graphical user interface that guides users through the process of authoring their own schemas describing their datasets.
You can learn more about schemas and see an implementation of OCA Composer live at the Semantic Engine.
OCA Composer outputs
The OCA Composer is written in React and deployed to a virtual machine which serves the web app to users. The OCA Composer app takes the user inputs and generates two types of files - the OCA File and the OCA Excel Template. Both of these files can be interpreted by parsers to generate the OCA Schema Bundle which is a single JSON file that contains the contents of the schema. Currently in this implementation only the OCA Excel Template is used and parsed to generate the OCA Schema Bundle. In the future, the OCA File will be directly consumed by an OCA Repository.
Data uploading and OCA Composer
OCA Composer lets users upload a copy of a dataset which is stored in the users local environment, but OCA Composer only uses this to access the first row of the first sheet (if Excel) for attribute names. The data itself is not used further by OCA Composer and does not leave the users computer.
Consuming OCA Schema Bundle - Readme and Data entry Excel
The JSON schema bundle can be consumed by several tools within the ADC/OCA ecosystem.
- OCA Readme consumes the JSON schema bundle and creates a human-readable plain text schema document.
- Data Entry Excel consumes the JSON schema bundle and creates an Excel sheet for data entry based on the information provided for in the schema.
Running the app locally
You can clone the project using the git command-line interface or you can download the entire project as a zip using GitHub's user-interface.
Create a .env file in the project root directory and add the following environment variable:
``` REACTAPPGA_ID=0
```
In the project directory, you can run:
npm start
Runs the app in the development mode.\ Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits to the code.\ You will also see any errors/warnings in the console.
npm run build
Builds the app for production to the build folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\ Your app is ready to be deployed!
See the section about deployment for more information.
Development Status
This code is created with support by Agri-food Data Canada, funded by CFREF through the Food from Thought grant held at the University of Guelph. Currently, we do not provide any warranty of any kind regarding the accuracy, security, completeness or reliability of this code or any of its parts.
Owner
- Name: Agri-food Data Canada
- Login: agrifooddatacanada
- Kind: organization
- Website: https://agrifooddatacanada.ca/
- Repositories: 5
- Profile: https://github.com/agrifooddatacanada
Agri-food Data Canada is creating a data ecosystem serving agri-food sustainability. Through investments in technology, infrastructure and culture.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: OCA Composer
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- name: Agri-food Data Canada
location: '50 Stone Road East, University of Guelph'
post-code: N1G 2W1
country: CA
city: Gueph
email: adc@uoguelph.ca
website: 'https://agrifooddatacanada.ca'
tel: (226) 971-0357
repository-code: 'https://github.com/agrifooddatacanada/OCA_Composer'
abstract: >-
This code helps users write their data schemas in the
Overlays Capture Architecture format via a web
application.
keywords:
- Overlays Capture Architecture
- Schema
- Agri-food Data Canada
license: EUPL-1.2
GitHub Events
Total
- Create event: 136
- Issues event: 1
- Watch event: 2
- Delete event: 32
- Issue comment event: 1
- Member event: 1
- Push event: 196
- Pull request review event: 20
- Pull request review comment event: 13
- Pull request event: 322
- Fork event: 2
Last Year
- Create event: 136
- Issues event: 1
- Watch event: 2
- Delete event: 32
- Issue comment event: 1
- Member event: 1
- Push event: 196
- Pull request review event: 20
- Pull request review comment event: 13
- Pull request event: 322
- Fork event: 2
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 5
- Total pull requests: 278
- Average time to close issues: 3 minutes
- Average time to close pull requests: about 20 hours
- Total issue authors: 2
- Total pull request authors: 6
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 224
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 181
- Average time to close issues: 1 minute
- Average time to close pull requests: about 18 hours
- Issue authors: 2
- Pull request authors: 5
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 145
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mathew-at-guelph (4)
- andorsk (1)
Pull Request Authors
- mathew-at-guelph (229)
- Steven-Mugisha (38)
- ematharu14 (8)
- asadow (3)
- carlyh-micb (2)
- Ali-Asjad (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- Azure/static-web-apps-deploy v1 composite
- actions/checkout v3 composite
- Azure/static-web-apps-deploy v1 composite
- actions/checkout v3 composite
- Azure/static-web-apps-deploy v1 composite
- actions/checkout v3 composite
- 1310 dependencies
- @emotion/react ^11.10.6
- @emotion/styled ^11.10.6
- @mui/icons-material ^5.11.16
- @mui/material ^5.11.16
- @testing-library/jest-dom ^5.16.5
- @testing-library/react ^13.4.0
- @testing-library/user-event ^13.5.0
- ag-grid-community ^29.2.0
- ag-grid-react ^29.2.0
- exceljs ^4.3.0
- jszip ^3.10.1
- papaparse ^5.4.1
- react ^18.2.0
- react-dom ^18.2.0
- react-dropzone ^14.2.3
- react-ga ^3.3.1
- react-router-dom ^6.13.0
- react-scripts 5.0.1
- web-vitals ^2.1.4
- xlsx ^0.18.5