home / cp40x

names

6 rows where case_id = 2293565

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4791888 2293565 2293565 plaintiff Martyn Adam   586168 586168 Martyn, Adam, of Skernyng 0
4791889 2293565 2293565 plaintiff Martyn John his son   Martyn, John, his son 1
4791890 2293565 2293565 plaintiff Martyn Reginald brother of John   Martyn, Reginald, brother of John 2
4791891 2293565 2293565 plaintiff Martyn Alexander brother of Reginald   Martyn, Alexander, brother of Reginald 3
4791892 2293565 2293565 plaintiff Martyn John brother of Alexander   Martyn, John, brother of Alexander 4
4791893 2293565 2293565 defendant Hastynges Edward   607684 607684 Hastynges, Edward, of Gressenhale, knight 0

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