home / cp40x

names

6 rows where case_id = 2554226

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5632622 2554226 2554226 plaintiff Stuard William     Stuard, William 0
5632623 2554226 2554226 defendant Fossebroke Roger cordwainer 907821 907821 Fossebroke, Roger, of Loughteburgh, Leics, cordwainer 0
5632624 2554226 2554226 defendant Dawe William cordwainer 586901 586901 Dawe, William, of Nottingham, cordwainer 1
5632625 2554226 2554226 defendant Brode William cordwainer 586435 586435 Brode, William, of Leicester, cordwainer 2
5632626 2554226 2554226 defendant Selby John husbandman 638378 638378 Selby, John, of Shepeshed, Leics, husbandman 3
5632627 2554226 2554226 defendant Colermaker Lawrence   612852 612852 Colermaker, Lawrence, of Shelford, collar maker 4

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 18.569ms