home / cp40x

names

7 rows where case_id = 2387538

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5103802 2387538 2387538 plaintiff Bryce Thomas mercer 585869 585869 Bryce, Thomas, of London, mercer 0
5103803 2387538 2387538 plaintiff Alfray Richard gent   Alfray, Richard, gent 1
5103804 2387538 2387538 defendant Spencer William merchant 587052 587052 Spencer, William, of Beverley, Yorks, merchant 0
5103805 2387538 2387538 defendant Fynay Bartholomew soldier 590033 590033 Fynay, Bartholomew, of Calais, soldier 1
5103806 2387538 2387538 defendant Clyderowe Hugh, senior merchant 599036 599036 Clyderowe, Hugh, senior, of Hull, Yorks, merchant 2
5103807 2387538 2387538 defendant Clyderowe Hugh, junior merchant 606673 606673 Clyderowe, Hugh, junior, of Hull, merchant 3
5103808 2387538 2387538 defendant Chambre Robert chapman 795181 795181 Chambre, Robert, of Neweport Paynell, Bucks, chapman 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 14.964ms