Document dataset metadata. For use in Statistics Norway's metadata system.
Project description
Datadoc
Document datasets in Statistics Norway
Usage example
- Run
from datadoc import main; main("./path/to/your/dataset")
to run Datadoc on a dataset of your choosing. - Complete metadata as you desire
- Click
Lagre
to save a metadata document together with your dataset
If the datadoc package is not installed
- Clone this repo to your Jupyter instance (or local machine)
- Open the
DataDoc.ipynb
Notebook and run the cell to see the example dataset
Contributing
Dependency Management
Poetry is used for dependency management.
To install all required dependencies in a virtual environment run poetry install
. To add a new dependency to the project run poetry add <package name>
.
Run project locally in Jupyter
To run the project locally in Jupyter run:
poetry shell
ipython kernel install --user --name="datadoc"
jupyter notebook
A Jupyter instance should open in your browser. Once there, open the *.ipynb
file. Before running it, select the correct interpreter via Kernel > Change Kernel > datadoc
.
Run tests
- Install dev dependencies (see Dependency Management)
- Run
poetry shell
to open a shell in the Virtual Environment for the project - Run
pytest
in the root of the project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssb-datadoc-0.1.2.tar.gz
(41.2 kB
view hashes)
Built Distribution
Close
Hashes for ssb_datadoc-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4c493d54b4548093249683465c1c85b54971c0c2c7a4d4e1d96988205aab80 |
|
MD5 | 56be1c1dac3093c112ea7df9996c286a |
|
BLAKE2b-256 | 167ad93a4ff2eda67d8cfd14d6118eea2d689e1419b915590bd9ca95dd9d9f7e |