home / cp40x

names

6 rows where case_id = 2357550

✎ 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
5002200 2357550 2357550 plaintiff Neville William     Neville, William 0
5002201 2357550 2357550 defendant Hakerton Thomas husbandman 586005 586005 Hakerton, Thomas, of Upton, husbandman 0
5002202 2357550 2357550 defendant Bocher John yeoman 593397 593397 Bocher, John, of Ragnell, yeoman 1
5002203 2357550 2357550 defendant Tulker Henry   833396 833396 Tulker, Henry, of Lann or Lamm, wright 2
5002204 2357550 2357550 defendant Warde William yeoman 628040 628040 Warde, William, of Darlton, yeoman 3
5002205 2357550 2357550 defendant Aylmer William husbandman 589742 589742 Aylmer, William, of Rampton, husbandman 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 6.48ms