|
1 | | -# Wikidata |
| 1 | +# wikidata |
2 | 2 |
|
3 | | -Current version: [v1.0.0](https://github.com/GLAM-Workbench/wikidata/releases/tag/v1.0.0) |
4 | 3 |
|
5 | | -Tools and examples for working with GLAM information in Wikidata. For more information see the [Wikidata](https://glam-workbench.net/wikidata/) section of the GLAM Workbench. |
6 | 4 |
|
7 | | -## Notebook topics |
| 5 | +For more information and documentation see the [Wikidata - GLAM Workbench](https://glam-workbench.net/wikidata/) section of the [GLAM Workbench](https://glam-workbench.net). |
8 | 6 |
|
9 | | -* [Create a Gannt chart of Australian government departments](agencies-gannt-timeline.ipynb) – visualises life dates of government departments |
10 | | -* [Create a network graph visualisation of Australian government departments](govt-agencies-network.ipynb) – visualises changes in Australian government departments over time |
11 | | -* [Visualise the connections of a single Australian government agency](single-agency-network.ipynb) |
12 | | - |
13 | | -See the [GLAM Workbench for more details](https://glam-workbench.github.io/wikidata/). |
| 7 | +## Notebooks |
| 8 | +- [Create a Gannt chart of Australian government departments](https://github.com/GLAM-Workbench/wikidata/blob/master/agencies-gannt-timeline.ipynb) |
| 9 | +- [Create a network graph visualisation of Australian government departments](https://github.com/GLAM-Workbench/wikidata/blob/master/govt-agencies-network.ipynb) |
| 10 | +- [Visualise the network of Australian people identifiers](https://github.com/GLAM-Workbench/wikidata/blob/master/visualise_all_people_ids.ipynb) |
| 11 | +- [Visualise the connections of a single Australian government agency](https://github.com/GLAM-Workbench/wikidata/blob/master/single-agency-network.ipynb) |
14 | 12 |
|
15 | 13 |
|
16 | 14 | <!-- START RUN INFO --> |
17 | 15 |
|
18 | | - |
19 | | -## Run these notebooks |
20 | | - |
21 | | -There are a number of different ways to use these notebooks. Binder is quickest and easiest, but it doesn't save your data. I've listed the options below from easiest to most complicated (requiring more technical knowledge). |
22 | | - |
23 | | -### Using Binder |
24 | | - |
25 | | -[](https://mybinder.org/v2/gh/GLAM-Workbench/wikidata/master/?urlpath=lab/tree/index.ipynb) |
26 | | - |
27 | | -Click on the button above to launch the notebooks in this repository using the [Binder](https://mybinder.org/) service (it might take a little while to load). This is a free service, but note that sessions will close if you stop using the notebooks, and no data will be saved. Make sure you download any changed notebooks or harvested data that you want to save. |
28 | | - |
29 | | -See [Using Binder](https://glam-workbench.net/using-binder/) for more details. |
30 | | - |
31 | | -### Using Reclaim Cloud |
32 | | - |
33 | | -[](https://app.my.reclaim.cloud/?manifest=https://raw.githubusercontent.com/GLAM-Workbench/wikidata/master/reclaim-manifest.jps) |
34 | | - |
35 | | -[Reclaim Cloud](https://reclaim.cloud/) is a paid hosting service, aimed particularly at supported digital scholarship in hte humanities. Unlike Binder, the environments you create on Reclaim Cloud will save your data – even if you switch them off! To run this repository on Reclaim Cloud for the first time: |
36 | | - |
37 | | -* Create a [Reclaim Cloud](https://reclaim.cloud/) account and log in. |
38 | | -* Click on the button above to start the installation process. |
39 | | -* A dialogue box will ask you to set a password, this is used to limit access to your Jupyter installation. |
40 | | -* Sit back and wait for the installation to complete! |
41 | | -* Once the installation is finished click on the 'Open in Browser' button of your newly created environment (note that you might need to wait a few minutes before everything is ready). |
42 | | - |
43 | | -See [Using Reclaim Cloud](https://glam-workbench.net/using-reclaim-cloud/) for more details. |
44 | | - |
45 | | -### Using Docker |
46 | | - |
47 | | -You can use Docker to run a pre-built computing environment on your own computer. It will set up everything you need to run the notebooks in this repository. This is free, but requires more technical knowledge – you'll have to install Docker on your computer, and be able to use the command line. |
48 | | - |
49 | | -* Install [Docker Desktop](https://docs.docker.com/get-docker/). |
50 | | -* Create a new directory for this repository and open it from the command line. |
51 | | -* From the command line, run the following command: |
52 | | - ``` |
53 | | - docker run -p 8888:8888 --name wikidata -v "$PWD":/home/jovyan/work quay.io/glamworkbench/wikidata repo2docker-entrypoint jupyter lab --ip 0.0.0.0 --NotebookApp.token='' --LabApp.default_url='/lab/tree/index.ipynb' |
54 | | - ``` |
55 | | -* It will take a while to download and configure the Docker image. Once it's ready you'll see a message saying that Jupyter Notebook is running. |
56 | | -* Point your web browser to `http://127.0.0.1:8888` |
57 | | - |
58 | | -See [Using Docker](https://glam-workbench.net/using-docker/) for more details. |
59 | | - |
60 | | -### Setting up on your own computer |
61 | | - |
62 | | -If you know your way around the command line and are comfortable installing software, you might want to set up your own computer to run these notebooks. |
63 | | - |
64 | | -Assuming you have recent versions of Python and Git installed, the steps might be something like: |
65 | | - |
66 | | -* Create a virtual environment, eg: `python -m venv wikidata` |
67 | | -* Open the new directory" `cd wikidata` |
68 | | -* Activate the environment `source bin/activate` |
69 | | -* Clone the repository: `git clone https://github.com/GLAM-Workbench/wikidata.git notebooks` |
70 | | -* Open the new `notebooks` directory: `cd notebooks` |
71 | | -* Install the necessary Python packages: `pip install -r requirements.txt` |
72 | | -* Run Jupyter: `jupyter lab` |
73 | | - |
74 | | -See [Getting started](https://glam-workbench.net/getting-started/#using-python-on-your-own-computer for more details. |
75 | | - |
76 | 16 | <!-- END RUN INFO --> |
77 | 17 |
|
78 | | -## Cite as |
79 | | - |
80 | | -See the GLAM Workbench or [Zenodo](https://doi.org/10.5281/zenodo.3521724) for up-to-date citation details. |
81 | | - |
82 | 18 | ---- |
83 | | - |
84 | | -This repository is part of the [GLAM Workbench](https://glam-workbench.github.io/). |
85 | | - |
86 | | -The development of the Wikidata section of the GLAM Workbench was supported by [Wikimedia Australia](https://wikimedia.org.au/wiki/Wikimedia_Australia). |
| 19 | +Created by [Tim Sherratt](https://timsherratt.au) for the [GLAM Workbench](https://glam-workbench.net) |
0 commit comments