Skip to content

Commit 81e6544

Browse files
committed
#17 Suppressing values of under 5 for membership. Closes #17
1 parent d5dffc6 commit 81e6544

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

docs/membership.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,25 @@ A benefit of reporting membership data using LSOAs is that they also hold all ki
4343

4444
As long as the library service can report counts of members by postcode, they should be able to report members by LSOA. The ONS publish [postcode to LSOA lookup tables](https://geoportal.statistics.gov.uk/datasets/postcode-to-output-area-hierarchy-with-classifications-august-2019-lookup-in-the-uk).
4545

46+
If address data is unavailable, or for any other reason the LSOA is not known, an "Unknown" value can be placed in the column to group together members without a specified LSOA.
47+
48+
#### Members
49+
50+
The members column specifies the count of membership in each LSOA.
51+
52+
If this count is less than 5 members, the data should be suppressed. This protects the confidentiality of members, and avoids chances of identifying individuals within the data.
53+
54+
For example, the following would be used if 3 members were identified to be in LSOA E01014486.
55+
56+
| Bristol City Council | 2018-10-23 | E01014486 | x |
57+
4658
---
4759

4860
### Potential problems
4961

5062
#### Area codes
5163

52-
There are lookup files that will convert from postcode to LSOA area code. So as long as the library service can report on membership by postcode, then they can also report on membership by LSOA
64+
There are lookup files that will convert from postcode to LSOA area code. So as long as the library service can report on membership by postcode, then they can also report on membership by LSOA.
5365

5466
### How the data is updated
5567

@@ -73,7 +85,7 @@ This shows that there were 557 library members in [LSOA area E01014486](https://
7385

7486
Mapping and analysing this data provides all sorts of local uses in terms of outreach programmes, seeing why certain areas don't use the library, looking at the particular needs of existing members, etc. Nationally, if we had detailed library membership data, that would become a dataset that would be of use for many other agencies, such as those looking at digital exclusion, or use of public services.
7587

76-
The map on [librarieswest.github.io](https://librarieswest.github.io/map/) shows detailed membership data for all services in Libraries West.
88+
The map on [librarieswest.github.io](https://librarieswest.github.io/map/) shows detailed membership data for all services in Libraries West.
7789

7890
<figure>
7991
<img src="{{site.url}}/images/membership_bristol.png" alt="Map displaying shading of LSOAs to represent membership levels across Bristol" width="100%"/>

membership.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"name": "Area code",
23-
"description": "Office for National Statistics geographic area code.",
23+
"description": "Office for National Statistics geographic area code. Use Unknown where the area code is not known.",
2424
"type": "string",
2525
"format": "default",
2626
"constraints": {
@@ -30,10 +30,11 @@
3030
{
3131
"name": "Members",
3232
"description": "Count of active members (active in the last year) with address located in the specified area.",
33-
"type": "integer",
33+
"type": "string",
3434
"format": "default",
3535
"constraints": {
36-
"required": true
36+
"required": true,
37+
"pattern": "^x$|^[5-9]{1}$|^[1-9]\\d{1,}$"
3738
}
3839
}
3940
]

0 commit comments

Comments
 (0)