Giter Club home page Giter Club logo

pydataverse_nesstar's Introduction

pyDataverse_nesstar

Scripts, files and documentation for the pyDataverse NESSTAR data migration with pyDataverse.

INSTALL

Requirements:

  • pyDataverse
  • pydantic
git clone [email protected]:AUSSDA/pyDataverse_nesstar.git
cd pyDataverse_nesstar
pipenv install

RUN

Set up

pipenv shell
export INSTANCE="INSTANCE_NAME"

Place .env files in expected location with needed variables set: see src/settings.py to find out more.

Workflow

In general, the workflow for data imports is always as this:

  1. Prepare the CSV file
  2. Prepare the script
  3. Prepare Dataverse installations
  4. Prepare Dataverse
  5. Create Dataverse
  6. Test on local Dataverse installation
  7. Upload 1 dataset with datafiles
  8. Review: Developer
  9. Publish the dataset with datafiles
  10. Review: Developer
  11. Upload 10 datasets with datafiles
  12. Publish the datasets
  13. Review: Developer
  14. Upload all datasets with datafiles
  15. Publish the datasets
  16. Review: Developer
  17. Review
  18. Test on development Dataverse installation
  19. Upload 1 dataset with datafiles
  20. Review: Developer + Ingest
  21. Upload all datasets with datafiles
  22. Review: Developer + Ingest
  23. Import on production Dataverse installation
  24. Upload 1 dataset with datafiles
  25. Review: Developer + Ingest
  26. Upload all datasets with datafiles
  27. Review: Developer + Ingest
  28. Publish all datasets
  29. Review: Developer + Ingest
  30. Clean up the Dataverse installations
  31. Delete/Destroy datasets
  32. Delete Dataverses

Execute Script

Before you run the script, adapt the data pipeline control flags in src/nesstar.py.

cd src
python -m nesstar

DEVELOPMENT

Install

git clone [email protected]:AUSSDA/pyDataverse_nesstar.git
cd pyDataverse_nesstar
pipenv install --dev
pre-commit install

pydataverse_nesstar's People

Contributors

skasberger avatar

Watchers

 avatar Daniel Melichar 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.