Skip to content

Commit

Permalink
Update membership stats
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-strange committed Sep 18, 2024
1 parent cc1c122 commit 3fff77e
Show file tree
Hide file tree
Showing 7 changed files with 492 additions and 472 deletions.
859 changes: 438 additions & 421 deletions pipelines/true-north/analyse_members_list.ipynb

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions pipelines/true-north/clean_members_list.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"metadata": {},
"outputs": [],
"source": [
"data = pd.read_excel(os.path.join(WDIR, 'true-north/hubspot-crm-exports-2-true-north-open-innovatio-2024-08-08.xlsx'))\n",
"data = pd.read_excel(os.path.join(WDIR, 'true-north/Updated True North data September 2024 .xlsx'))\n",
"# additional_members = pd.read_excel(os.path.join(WDIR, 'true-north/true north_additional_members_list_19_06_24.xlsx'))"
]
},
Expand Down Expand Up @@ -88,7 +88,10 @@
{
"data": {
"text/plain": [
"['Create Date',\n",
"['Record ID',\n",
" 'First Name',\n",
" 'Last Name',\n",
" 'Create Date',\n",
" 'Last Activity Date',\n",
" 'How many people work in your organisation?',\n",
" 'What sector(s) does your organisation operate in? [Other]',\n",
Expand All @@ -108,8 +111,6 @@
" 'City',\n",
" 'Industry',\n",
" 'associated Company Domain (Contact Level)',\n",
" 'First Name',\n",
" 'Last Name',\n",
" 'last_updated']"
]
},
Expand Down Expand Up @@ -230,8 +231,8 @@
{
"data": {
"text/plain": [
"array(['1 - 10', '51 - 100', '1,000+', '11 - 50', '251 - 500',\n",
" '501 - 1,000', '101 - 250', '1 - 10; 11 - 50', nan], dtype=object)"
"array(['1 - 10', '11 - 50', '1,000+', '251 - 500', '501 - 1,000',\n",
" '101 - 250', '51 - 100', '1 - 10; 11 - 50', nan], dtype=object)"
]
},
"execution_count": 12,
Expand Down Expand Up @@ -290,7 +291,7 @@
{
"data": {
"text/plain": [
"array(['0-9', '50-249', '1000+', '10-49', '250+', nan], dtype=object)"
"array(['0-9', '10-49', '1000+', '250+', '50-249', nan], dtype=object)"
]
},
"execution_count": 14,
Expand Down Expand Up @@ -456,7 +457,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.4"
"version": "3.12.6"
}
},
"nbformat": 4,
Expand Down
33 changes: 17 additions & 16 deletions src/overview/membership/_data/cumsum.csv
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
year,month_formatted,start_of_month,individuals,orgs
2023.33,2023-05,2023-05-01,76,71
2023.41,2023-06,2023-06-01,79,73
2023.49,2023-07,2023-07-01,114,106
2023.58,2023-08,2023-08-01,132,122
2023.66,2023-09,2023-09-01,166,154
2023.75,2023-10,2023-10-01,218,203
2023.83,2023-11,2023-11-01,224,206
2023.91,2023-12,2023-12-01,230,211
2024.0,2024-01,2024-01-01,241,222
2024.08,2024-02,2024-02-01,245,226
2024.16,2024-03,2024-03-01,254,235
2024.25,2024-04,2024-04-01,257,238
2024.33,2024-05,2024-05-01,267,247
2024.41,2024-06,2024-06-01,287,265
2024.5,2024-07,2024-07-01,299,274
2024.58,2024-08,2024-08-01,317,291
2023.33,2023-05,2023-05-01,84,80
2023.41,2023-06,2023-06-01,87,83
2023.49,2023-07,2023-07-01,122,116
2023.58,2023-08,2023-08-01,141,133
2023.66,2023-09,2023-09-01,175,164
2023.75,2023-10,2023-10-01,224,212
2023.83,2023-11,2023-11-01,229,215
2023.91,2023-12,2023-12-01,235,220
2024.0,2024-01,2024-01-01,246,231
2024.08,2024-02,2024-02-01,250,235
2024.16,2024-03,2024-03-01,257,242
2024.25,2024-04,2024-04-01,261,246
2024.33,2024-05,2024-05-01,271,255
2024.41,2024-06,2024-06-01,292,274
2024.5,2024-07,2024-07-01,304,284
2024.58,2024-08,2024-08-01,311,291
2024.67,2024-09,2024-09-01,320,300
39 changes: 20 additions & 19 deletions src/overview/membership/_data/sector_word_counts.csv
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name,count
services,49
professional,41
finance,30
services,56
professional,48
technology,34
finance,31
education,28
technology,27
construction,25
insurance,23
manufacturing,23
development,20
marketing,20
business,20
communications,19
admin,19
engineering,19
notforprofit,17
support,17
software,16
real estate,14
recruitment,12
business,26
construction,26
admin,25
insurance,25
manufacturing,24
development,24
support,23
marketing,23
communications,22
notforprofit,22
engineering,21
software,20
real estate,16
recruitment,15
legal,14
health,11
social,11
legal,10
information,10
4 changes: 2 additions & 2 deletions src/overview/membership/_data/top_locations.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
location,count
Greater Manchester,103
Greater Manchester,106
West Yorkshire,69
Lancashire,54
Merseyside,53
Lancashire,46
Cheshire,33
10 changes: 5 additions & 5 deletions src/overview/membership/_data/true_north_members_list.csv
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name,value,footnote,post,url
Total members,317,People,,/overview/membership
Total companies,290,Unique companies,,/overview/membership
Membership increase,6.0,Since last month,%,/overview/membership
Companies with 0-9 employees,34.5,Of members work in companies of this size,%,
Total members,320,People,,/overview/membership
Total companies,299,Unique companies,,/overview/membership
Membership increase,2.9,Since last month,%,/overview/membership
Companies with 0-9 employees,35.6,Of members work in companies of this size,%,
Top industry,,Of members work in nan,%,
Geographic reach,4,placeholder,,
Advisory council,11,Members represent the network on the True North advisory council,,https://www.brabners.com/insights/true-north/true-north-advisory-council-launches
Northern stars,5,Companies have been featured as Northern Stars,,/overview/northern-stars
B Corps,13.9,Of member's organisations are B Corps or are joining,%,/themes/sustainable-growth/b-corporations
B Corps,13.3,Of member's organisations are B Corps or are joining,%,/themes/sustainable-growth/b-corporations
2 changes: 1 addition & 1 deletion src/overview/membership/_data/updated.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-08-09 09:50:33
2024-09-18 09:50:37

0 comments on commit 3fff77e

Please sign in to comment.