home / cp40x

names

9 rows where case_id = 2006548

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3948530 2006548 2006548 plaintiff Danyell Nicholas     Danyell, Nicholas 0
3948531 2006548 2006548 plaintiff Danyell John     Danyell, John 1
3948532 2006548 2006548 defendant Lagharn John gent 637913 637913 Lagharn, John, of St Key, gent 0
3948533 2006548 2006548 defendant Lagharn Thomas gent 637913 637913 Lagharn, Thomas, of St Key, gent 1
3948534 2006548 2006548 defendant Rowse Ralph laborer 633372 633372 Rowse, Ralph, of Kenwyn, laborer 2
3948535 2006548 2006548 defendant Best John laborer 637913 637913 Best, John, of St Key, laborer 3
3948536 2006548 2006548 defendant Miller Alexander miller 637913 637913 Miller, Alexander, of St Key, miller 4
3948537 2006548 2006548 defendant Rowse alias Trewordar John husbandman 633372 633372 Rowse alias Trewordar, John, of Kenwyn, husbandman 5
3948538 2006548 2006548 defendant Restorle Pascase husbandman 633372 633372 Restorle, Pascase, of Kenwyn, husbandman 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 14.659ms