home / cp40x

names

6 rows where case_id = 2211885

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4537129 2211885 2211885 plaintiff Sudbury William draper 585869 585869 Sudbury, William, of London, draper 0
4537130 2211885 2211885 defendant Lyttelbury John   586846 586846 Lyttelbury, John, of Lincoln, knight 0
4537131 2211885 2211885 defendant Hagham Robert   599587 599587 Hagham, Robert, of East Depyng, Lincs, parson of the church of St Guthlac 1
4537132 2211885 2211885 defendant Toly John esq 606482 606482 Toly, John, of Norfolk, esq 2
4537133 2211885 2211885 defendant Faryngton Hugh de clerk   Faryngton, Hugh de, clerk 3
4537134 2211885 2211885 defendant Appilton John   596238 596238 Appilton, John, of Suffolk 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 10.342ms