Data Theme for the Alberta Provincial Growth and Yield Initiative.
HTML Shell JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
schemas
www
.gitignore
LICENSE
README.md
build.js
datapackage.json
datatheme.json
package.json
publi.sh

README.md

datatheme-afgo-pgyi

!WIP: this is work in progress.

Codeship Status for tesera/datatheme-pgyi

What is PGYI?

PGYI is an initiative from the Alberta Forest Growth Organization (AFGO) to collect and share growth and yield plots data within their community.

What is a Data Theme?

A data theme is a collection of JSON Table Schema which collectively describe a Tabular Data Package dataset.

You build the data theme into a template datapackage.json file which you can extend for your purpose.

A datatheme consists of a datatheme.json file which describes itself and paths to all schema resources referenced by this theme.

$ cat datatheme.json
{
    "name": "afgo.pgyi",
    "version": "2.0.1",
    "repository": "http://github.com/tesera/afgo-pgyi-datatheme.git",
    "description": "Data theme for AFGO PGYI forestry permanent sample plots.",
    "schemas": [
        "./schemas/plot.json",
        "./schemas/photo_avi.json",
        "./schemas/treatment.json",
        "./schemas/disturbance.json",
        "./schemas/regeneration.json",
        "./schemas/plot_measurement.json",
        "./schemas/trees.json",
        "./schemas/trees_measurement.json"
    ]
}

Building your theme into a package template file.

$ node ./build.js > datapackage.json
Options:
node ./build.js <datatheme_name>
node ./build.js dev.afgo.pgyi