home / cp40x

names

9 rows where case_id = 2285467

✎ 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
4766347 2285467 2285467 plaintiff Laurence John     Laurence, John 0
4766348 2285467 2285467 defendant Hywelet William mariner 601694 601694 Hywelet, William, of Northam, mariner 0
4766349 2285467 2285467 defendant Pyper Thomas mariner 799249 799249 Pyper, Thomas, of Apildore, mariner 1
4766350 2285467 2285467 defendant Syllysford John husbandman 601694 601694 Syllysford, John, of Northam, husbandman 2
4766351 2285467 2285467 defendant Cywele Thomas mariner 586791 586791 Cywele, Thomas, of Bydeford, mariner 3
4766352 2285467 2285467 defendant Payneter John husbandman 774596 774596 Payneter, John, of Cryde, husbandman 4
4766353 2285467 2285467 defendant Weye Thomas mariner 604649 604649 Weye, Thomas, of Ilfracombe, mariner 5
4766354 2285467 2285467 defendant Hoper John mariner 604649 604649 Hoper, John, of Ilfracombe, mariner 6
4766355 2285467 2285467 defendant Jon Thomas mariner 593607 593607 Jon, Thomas, of Peynton, mariner 7

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.355ms