home / cp40x

names

8 rows where case_id = 2242840

✎ 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
4638645 2242840 2242840 plaintiff Chalk William     Chalk, William 0
4638646 2242840 2242840 defendant Crowe William   754105 754105 Crowe, William, of Wodeham Ferers 0
4638647 2242840 2242840 defendant Crowe Joan     Joan, his wife 1
4638648 2242840 2242840 defendant Bakere John   586200 586200 Bakere, John, of Kelden 2
4638649 2242840 2242840 defendant Tryth John   587920 587920 Tryth, John, of Maldon 3
4638650 2242840 2242840 defendant Fairstede John   587920 587920 Fairstede, John, of Maldon 4
4638651 2242840 2242840 defendant Tannere Adam   753530 753530 Tannere, Adam, of Great Badewe 5
4638652 2242840 2242840 defendant Hathe John   776869 776869 Hathe, John, of Shiryngbury 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.234ms