home / cp40x

names

7 rows where case_id = 2213849

✎ 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
4543474 2213849 2213849 plaintiff atte Lane Margaret formerly wife of William atte Lane, of Norwich   atte Lane, Margaret, formerly wife of William atte Lane, of Norwich 0
4543475 2213849 2213849 defendant Lesse Henry   767825 767825 Lesse, Henry, of Crostwheyt 0
4543476 2213849 2213849 defendant Holm John de son of Godwin   Holm, John de, son of Godwin 1
4543477 2213849 2213849 defendant Stonyld Peter wright   Stonyld, Peter, wright 2
4543478 2213849 2213849 defendant Lome Thomas     Lome, Thomas 3
4543479 2213849 2213849 defendant Broun Stephen     Broun, Stephen 4
4543480 2213849 2213849 defendant Brunne William     Brunne, William 5

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