Git Product home page Git Product logo

bioschemas-goweb's Introduction

BIOSCHEMAS.ORG GOWEB

The mapping information on the Bioschemas.org specification tables is stored (and transformed into HTML for display purposes) in a human friendly but machine readable format YAML. A simple way to generate and maintain this mapping is using Google Sheet application given its user experience and user interface which is familiar to anyone who has used Spreadsheet applications before. Thus, we have created a template that aids the specification mapping process and provides a suitable way to deliver the information to the website. More information about the template and the specification process here.

This tool helps you transform the Bioschemas Fields sheet on the template into a YAML file that can be stored and displayed on the Bioschemas.org specification page.

Getting the specifications CSV


Stored on the BIOSCHEMAS.ORG gdrive specification folder you will find the specification mappings there on the mapping sheet:

  • Go to File > Publish to the web... > Link
  • Select "Bioschemas fields" and "Comma separated values (.csv)" as the output format.
  • Click on Publish

If the Publish button is not enable, use the URL provided there. You should get an URL similar to this:

https://docs.google.com/spreadsheets/d/e/2PACX-1vTjBKpODC7xTXlfw3P_VffN0u5zdoPt-2bZ4m3_kMGx16lQlz4XH9LyT5y_m-_Tk2AlAO2ID_MFXlTW/pub?gid=292464567&single=true&output=csv

Use it directly on the tool, or download it and feed the CSV file to the tool using the -f command.

Anyone can use it!


It's just as simple as downloading the right executable file according your Operating System and Architecture.

SO Link
alt text Windows
alt text Linux
alt text MAC Darwin

Note: Log and YAML result files will be placed on the folder the program is executed.

Example getting markdown from the GDrive spreadsheet URL


MAC Darwin / Linux

./bioschemas-goweb_linux_64 -u "https://docs.google.com/spreadsheets/d/e/2PACX-1vTjBKpODC7xTXlfw3P_VffN0u5zdoPt-2bZ4m3_kMGx16lQlz4XH9LyT5y_m-_Tk2AlAO2ID_MFXlTW/pub?gid=292464567&single=true&output=csv"

Windows

bioschema-goweb_windows_64.exe -u "https://docs.google.com/spreadsheets/d/e/2PACX-1vTjBKpODC7xTXlfw3P_VffN0u5zdoPt-2bZ4m3_kMGx16lQlz4XH9LyT5y_m-_Tk2AlAO2ID_MFXlTW/pub?gid=292464567&single=true&output=csv"

Note: Use quotation marks for the URL.

Example getting markdown from the GDrive spreadsheet CSV downloaded file

./bioschema-goweb -f "Beacon Mapping - Bioschemas fields.csv"

Help

Use the -h parameter to get info about the command tool.

./bioschema-goweb -h

Build

To build the binaries run make build-all this will create a folder build/ with the binaries.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.