Git Product home page Git Product logo

soda's Introduction

SODA

Standardized Open DAta sharing platform.

Made with ❤️ by team Tachyon for HackMIT.

Description

SODA is a server software which makes it easy and straightforward to publish data sources and datasets in various formats on the Internet. It does so by reading the directory structure of a base directory specified by the administrator and its files. Afterward, the user of the deployed website can use the search function to find a specific source in an accesible and easy way.

Screenshots

home page search page data_source page

Requirements

  • Python^3.8
  • pipenv
  • flask (installed by pipenv)
  • python-dotenv (installed by pipenv)

Installation

Clone the repository and run pipenv to install the dependencies. Afterward run flask run --host=[hostname] to start the server. Make sure to read the config section before the first run.

Config

To select a base content directories create a .env file inside the repository root folder and add the environment variable DIR=[path to directory containing the soda_-_files directory as described below]. Make sure to read the Adding entries section to add data source entries to your server.

Adding entries

To add entries to your server, make sure to create the following directory structure starting at your soda_files directory:

  • soda_files
    • data_sources
      • Entry Name 1
        • description.txt
        • tags.txt
        • files
          • data_file.csv
          • data_file.xlsx
          • data_file.tsv
      • Entry Name 2
        • description.txt
        • tags.txt
        • files
          • data_file.csv
          • data_file.xlsx
          • data_file.tsv

Each Entry Name directory must be named as it is expected to be displayed on the web-page.

Note: It is required to create the description.txt and tags.txt files within each data source or the server might not be able to index the data source correctly.

About tags.txt and description.txt

The tags.txt and description.txt files must have a specific format:

tags.txt

It must contain the tags of the data source each on a new line:

tag1
tag2
tag3

description.txt It must contain the data source's description. It only allows Unicode characters to be displayed and currently does not support plain-text formatting (Markdown, ReStructuredText, ...).

soda's People

Contributors

jdbr99 avatar dytierra avatar

Watchers

James Cloos avatar  avatar

soda's Issues

Create documentation

Document how the following are supposed to be used and set up.

  • Folder Structure
  • Configs

Home Route

Create Flask server route for home view.

Admin Route

Create Flask server route for Admin view.

Home View

Create HTML template for home view.

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.