home / cp40x

names

7 rows where case_id = 1866496

✎ 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
3596362 1866496 1866496 plaintiff Pawe Andrew     Pawe, Andrew 0
3596363 1866496 1866496 defendant Verdon Nicholas husbandman 589042 589042 Verdon, Nicholas, of Heydon, husbandman 0
3596364 1866496 1866496 defendant Hardyngham William clerk 589043 589043 Hardyngham, William, of North Byrlyngham, clerk 1
3596365 1866496 1866496 defendant Boydon Thomas husbandman 589042 589042 Boydon, Thomas, of Heydon, husbandman 2
3596366 1866496 1866496 defendant Pekeryng Thomas husbandman 589043 589043 Pekeryng, Thomas, of North Byrlyngham, clerk, husbandman 3
3596367 1866496 1866496 defendant Thursfeld William husbandman 589045 589045 Thursfeld, William, of Possewyk, husbandman 4
3596368 1866496 1866496 defendant Roket William husbandman 589046 589046 Roket, William, of Rokelond juxta Surlyngham, husbandman 5

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