added updated image

This commit is contained in:
seangreaves
2023-01-19 22:54:48 +00:00
parent 3b13d84ee0
commit 952ca89a51
4 changed files with 23 additions and 259 deletions

View File

@@ -1,6 +1,6 @@
# Sugartrail
![title](assets/images/domain.png)
![title](assets/images/candystreet.png)
Sugartrail is a network analysis and visualisation tool developed to make it easier and faster for researchers to explore connections between companies, officers and addresses within Companies House.
@@ -10,7 +10,7 @@ You will require an API key from Companies House to get data. First you will nee
## No-Install Usage
A hosted demo of the Sugartrail dashboard can be accessed [here](https://stark-island-99644.herokuapp.com/) (might take a few seconds to load the page).
A hosted demo of the Sugartrail dashboard can be accessed [here](https://stark-island-99644.herokuapp.com/) (might take a few seconds to load the page).
## Demo

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 MiB

View File

@@ -10,7 +10,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "f17ebdd2",
"metadata": {},
"outputs": [],
@@ -26,7 +26,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "cbc5e202",
"metadata": {},
"outputs": [],
@@ -45,53 +45,10 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "0632780b",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "1161d0ba01644c1aa3c0a45f82658a7b",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Text(value='', placeholder='Insert API Key')"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "ccd5abbda2f140888ee19075be763d79",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Button(description='Authenticate', style=ButtonStyle())"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "88984a8fbde64f7491a6ce08316758f4",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"HTML(value='')"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"API_input = widgets.Text(\n",
" value='',\n",
@@ -153,53 +110,10 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "128106c5",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "1c410b4c2eeb4345b7bcdfcf1622c502",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Text(value='', placeholder='Insert Company ID')"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e44b1eae883d4d30abc7a21b5f65b207",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Button(description='Initialise', style=ButtonStyle())"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "028a5edf0df54912a206ceea49c025a6",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"HTML(value='')"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"init_status = widgets.HTML(\n",
" value=\"\",\n",
@@ -249,7 +163,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "6eb9065a",
"metadata": {},
"outputs": [],
@@ -356,7 +270,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "7da39d70",
"metadata": {},
"outputs": [],
@@ -382,7 +296,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"id": "bec983fc",
"metadata": {},
"outputs": [],
@@ -393,26 +307,10 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"id": "1c68e6b4",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9c4b347bd3ac4fc894bab6e419d1515f",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Accordion(children=(VBox(children=(Checkbox(value=True, description='Get officers for each company', indent=Fa…"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"accordion_config"
]
@@ -427,67 +325,10 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "ea0e8392",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e1b9d44b6b5c4885865e137ce860e1c4",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"BoundedIntText(value=1, max=20, min=1)"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "bdf08191a94448b9b9e714b2e70d1f40",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Button(description='Build Network', style=ButtonStyle())"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e31d7367788d4e0d9f1e396c44223425",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"HTML(value='')"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "93193405b6b044a98c36b21a761fd65f",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Output()"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"build_status = widgets.HTML(\n",
" value=\"\",\n",
@@ -520,39 +361,10 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"id": "6449cd96",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "2e3ae2038efe4a8486ec3bcc35d6a3b9",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Button(description='Build Map', style=ButtonStyle())"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "3a2ab7ede61e48f6bcc95150e10cd500",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"HTML(value='')"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"map_container = widgets.HTML(\n",
" value=\"\",\n",
@@ -629,26 +441,10 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"id": "684a116e",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9b914a00be10491f82169cf06e9fe013",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Accordion(children=(VBox(children=(Map(center=[50, 0], controls=(ZoomControl(options=['position', 'zoom_in_tex…"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"accordion_map"
]
@@ -669,52 +465,20 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"id": "1e328d41",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "1952860a8548480dad48dbd10b764791",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Accordion(children=(Tab(children=(Output(outputs=({'output_type': 'display_data', 'data': {'text/plain': ' co…"
]
},
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"accordion_data"
]
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"id": "9224dce5",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e7dd9b6842f440b4bbb7d080bafefab0",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Output(outputs=({'output_type': 'display_data', 'data': {'text/plain': '<IPython.core.display.HTML object>', '…"
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"download_link"
]