home / cp40x

names

5 rows where case_id = 2459033

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5346443 2459033 2459033 plaintiff Ambrose Christopher     Ambrose, Christopher 0
5346444 2459033 2459033 defendant Michell Walter husbandman 694390 694390 Michell, Walter, of Holwall, Soms, husbandman 0
5346445 2459033 2459033 defendant Blakker Thomas chapman 586859 586859 Blakker, Thomas, of Salisbury, chapman 1
5346446 2459033 2459033 defendant Ape John dyer 713477 713477 Ape, John, of Brisport, Dorset, dyer 2
5346447 2459033 2459033 defendant Tulle Joan widow 592217 592217 Tulle, Joan, of Chichester, Sussex, widow 3

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