home / cp40x

names

6 rows where case_id = 1978489

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3864968 1978489 1978489 plaintiff Mathewe Robert clerk   Mathewe, Robert, clerk 0
3864969 1978489 1978489 defendant Shymmyng Thomas husbandman 590362 590362 Shymmyng, Thomas, of Eston, husbandman 0
3864970 1978489 1978489 defendant Pollard Nicholas smith 592630 592630 Pollard, Nicholas, of Heigham Potter, smith 1
3864971 1978489 1978489 defendant Bakon John carpenter 599191 599191 Bakon, John, of Roughton, carpenter 2
3864972 1978489 1978489 defendant Bonde Robert husbandman 614344 614344 Bonde, Robert, of Burlyngham, husbandman 3
3864973 1978489 1978489 defendant Byrde John   641962 641962 Byrde, John, of Saxsthorp 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 13.413ms