home / cp40x

names

5 rows where place_id = 601209

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3644322 1908647 1908647 defendant Holford George   601209 601209 Holford, George, of Lathom, Lancs, knight 2
4764515 2284887 2284887 defendant Stanley John   601209 601209 Stanley, John, of Lathom, Lancs, knight 0
4789476 2292776 2292776 defendant de Stanley John   601209 601209 de Stanley, John, of Lathom, Lancs, knight 0
4941897 2339454 2339454 defendant Bowyer William gent or groom 601209 601209 Bowyer, William, of Lathom, Lancs, gent or groom 0
5599205 2534632 2534632 defendant Clayton James clerk 601209 601209 (Clayton, James, of Lathom, Lancs, clerk 1

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 5.918ms