home / cp40x

names

8 rows where case_id = 2470966

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5385644 2470966 2470966 plaintiff Chace Thomas     Chace, Thomas 0
5385645 2470966 2470966 defendant Warde Thomas husbandman 588878 588878 Warde, Thomas, of Helperby, husbandman 0
5385646 2470966 2470966 defendant Bauke John husbandman 881335 881335 Bauke, John, of Helperpby, husbandman 1
5385647 2470966 2470966 defendant Donne William husbandman 588878 588878 Donne, William, of Helperby, husbandman 2
5385648 2470966 2470966 defendant Conyng Robert husbandman 588878 588878 Conyng, Robert, of Helperby, husbandman 3
5385649 2470966 2470966 defendant Bauke John husbandman 588878 588878 Bauke, John, of Helperby, husbandman 4
5385650 2470966 2470966 defendant Johnson Robert husbandman 644821 644821 Johnson, Robert, of Halperby, husbandman 5
5385651 2470966 2470966 defendant S_ William husbandman 588878 588878 S_, William, of Helperby, 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.596ms