Giter Site home page Giter Site logo

loleg / archive-forge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gperonato/archive-forge

0.0 2.0 0.0 3.72 MB

ORD hackathon challenge 5 https://github.com/ORD-Hackathon/hackathon-2021/issues/5

License: MIT License

Python 30.52% HTML 3.57% Vue 60.81% JavaScript 3.20% Shell 1.90%

archive-forge's Introduction

Archive-Forge

An ORD Hackathon 2021 project based on Challenge #5. This code packages data according to Frictionless Data specifications interactively in the web browser and in the console.

This is currently a prototype in three parts:

  • A set of wireframes and templates for a data publishing application, in the images and templates folders, respectively.
  • A frontend application based on this concept, that runs in the Web browser - see the app folder.
  • A backend script which illustrates the technology and conversion and packaging process, in the root folder.

See Development setup below for deployment instructions.

Introduction

This project challenge is aimed at supporting researchers from the domain of chemical science, however our prototype is designed to be useful to the wider scientific community, making it possible to create Archive Forges for different fields of endeavour and user audiences.

Example of principle users of the Archive Forge:

  • Principal investigator of a research group, who uses the tool share consistent and homogeneous data with students and faculty.
  • Scientific journal editor asking authors to submit supplementary information and complementary data.

Our initial goal is to propose a web application that should make it obvious what is desired for production of a Data Package.

Based on wireframes that were elaborated during the hackathon, we have prototyped a front-end application using Vue.js and Javascript, and a back-end process using DataFlows in Python.

Wireframes of the UI are below:

Concept 1

**Chemistry-relevant example**

Concept 2

**General demo example**

Development setup

Scroll down for details on running the Python-based backend.

Frontend

Install Node.js > 12 and run, in the app folder:

npm install

Then:

npm run serve

To start a development server.

Backend

Install RDKit and Python > 3.6

To install Python libraries, run:

pip install dataflows

Alternatively, we have set up an Anaconda environment which helps to ease cross-platform issues:

  1. Install Anaconda
  2. Set up the archive-forge environment: conda env create -f environment.yml
  3. Activate the environment: conda activate archive-forge

Once your environment is ready, you can run the data integration script:

python flow.py

An example REST server is provided for integration with the frontend, which we leave as an exercise for the reader:

python server.py

See the input and output files after running the data-integration script here below:

Directories

License

MIT License

archive-forge's People

Contributors

djeanner avatar gperonato avatar loleg avatar

Watchers

 avatar  avatar

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.