home / cp40x

names

8 rows where case_id = 2369065

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5041510 2369065 2369065 plaintiff Cofyngton William     Cofyngton, William 0
5041511 2369065 2369065 defendant Peyntour Robert tailor 588611 588611 Peyntour, Robert, of Strode, tailor 0
5041512 2369065 2369065 defendant Martyn Thomas shoemaker 588611 588611 Martyn, Thomas, of Strode, shoemaker 1
5041513 2369065 2369065 defendant Copdelf William smith 588611 588611 Copdelf, William, of Strode, smith 2
5041514 2369065 2369065 defendant Tenacre William laborer 588611 588611 Tenacre, William, of Strode, laborer 3
5041515 2369065 2369065 defendant Cok John laborer 588611 588611 Cok, John, of Strode, laborer 4
5041516 2369065 2369065 defendant Souter Thomas shoemaker 593915 593915 Souter, Thomas, of Stode, shoemaker 5
5041517 2369065 2369065 defendant Stodefold Thomas laborer 588611 588611 Stodefold, Thomas, of Strode, laborer 6

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