Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Running an analysis

Last checked: 20 November 2026, against connector tools version 1 and the package as renamed to `uk-open-data` (version 0.2, not yet released).
Last checked: 29 November 2026, against connector tools version 1 and the package as renamed to `uk-open-data` (version 0.2.0a1, a pre-release on PyPI).

What each of the five analyses is for and what it takes is in [the five analyses](analyses.md).

Expand All @@ -12,7 +12,7 @@ What each of the five analyses is for and what it takes is in [the five analyses
| The Kindtech Evidence page, in a browser | A file, with one row per person, per site or per area | The page opens the file in the browser and sends only the columns the person picks to the Kindtech server, which runs the analysis and keeps nothing |
| Chat, with the Kindtech connector | Totals only, typed or pasted as counts | The totals go to the assistant and to the Kindtech server. A row about a person is refused |

As of the date above, all three are built and none is open to the public: the command is not released, and the page and the hosted connector are not yet live (they will be at `app.kindte.ch`). Say so when a person asks where to go, and send them only to an address that is live. Check again before relying on this paragraph.
As of the date above, all three are built and only the command is open to the public: it is on PyPI as a pre-release, and the page and the hosted connector are not yet live (they will be at `app.kindte.ch`). Say so when a person asks where to go, and send them only to an address that is live. Check again before relying on this paragraph.

## The connector

Expand Down Expand Up @@ -54,7 +54,7 @@ This applies to any analysis run on a file with a postcode column, whether the p
- from a postcode table on the person's own computer, when one is installed. Nothing is sent anywhere.
- otherwise from postcodes.io, an online service. The postcodes are sent to it, and no other column.

Before the first run, check which will happen: `uk-open-data postcodes info` exits with status 2 when no table is installed. `uk-open-data postcodes download` fetches the table once. As of the date above no table has been published, so that command reports that nothing is available, and the lookup is online.
Before the first run, check which will happen: `uk-open-data postcodes info` says whether a table is installed, and exits with status 0 either way, so read what it prints. `uk-open-data postcodes download` fetches the table once. As of the date above a table has been published (May 2026, for England and Wales), so that command installs it.

- `--option postcode_lookup=offline` refuses to run without a table. `online` uses postcodes.io. `auto`, the default, uses the table when there is one.
- To send nothing off the computer today, give totals in place of postcodes: `lsoa_code` (2021 codes) and `count` for `reach-deprivation`, `local_authority` and `count` for `need-reach`, `group` and `count` for `who-we-miss`, `local_authority` and `volume` for `provision-gap`, and `latitude` and `longitude` for the sites of `access-distance`.
Expand All @@ -63,7 +63,7 @@ The result says what happened: the `postcode_lookup` entry in `choices`, and `pr

## Installing it

As of the date above, the command is built and not yet released. It ships with version 0.2 of the `uk-open-data` package, from <https://github.com/KindTechUK/uk-open-data>. Until that version is on PyPI it installs only from that repository's development branch: say so, and give no PyPI command as working.
As of the date above, the command is released as a pre-release. It ships with version 0.2.0a1 of the `uk-open-data` package, on PyPI and from <https://github.com/KindTechUK/uk-open-data>. `uv tool install --with pandas uk-open-data` installs it from PyPI. The command needs pandas or polars, which `--with pandas` adds.

## Figures from the web

Expand Down