Giter Club home page Giter Club logo

onsdigital.dp-local-data's Introduction

dp-local-data

dp-local-data is a cmd-cli tool enabling developers to easily:

  • Clean all CMD data out of their local environment.
  • Import the prerequisite hierarchy/codelist data required to import datasets.

The default config will load the hierarchy and code lists required for the Suicides dataset.

Prerequisites

dp-local-data uses Go Modules so requires a go version of 1.11 or later.

dp-local-data requires:

  • dp-code-list-scripts
  • dp-hierarchy-builder

to be one your $GOPATH:

go get github.com/ONSdigital/dp-code-list-scripts
go get github.com/ONSdigital/dp-hierarchy-builder

Getting started

Clone the code

git clone [email protected]:ONSdigital/dp-local-data.git

โš ๏ธ dp-local-data uses Go Modules and must be cloned to a location outside of your $GOPATH.

Install the binary

go install github.com/ONSdigital/dp-local-data

Usage

If the install was successful running

dp-local-data

Should present you with a help menu similar to:

dp-local-data is a tool for cleaning CMD data out of local dev env and/or importing the prerequisite hierarchy/codelist data required to successfully import datasets

Usage:
	dp-local-data [-commands]
Commands:
  -clean
    	Drop all local CMD data from Neo4j and MongoDB and deletes any Zededee collections
  -help
    	Display help info
  -import
    	Import the generic hierarchies and code lists specified in config.yml

Config

TODO - coming soon.

onsdigital.dp-local-data's People

Contributors

daillew 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.