home / cp40x

names

7 rows where case_id = 2244906

✎ 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
4646007 2244906 2244906 plaintiff Pek William   777504 777504 Pek, William, of Little Grantysden 0
4646008 2244906 2244906 defendant Gilberd John     Gilberd, John 0
4646009 2244906 2244906 defendant Warde John   589505 589505 Warde, John, of Kyngeston 1
4646010 2244906 2244906 defendant Bailly John   597874 597874 Bailly, John, of Stowe 2
4646011 2244906 2244906 defendant Botiller John   757348 757348 Botiller, John, of Childerle 3
4646012 2244906 2244906 defendant Botiller Richard   757348 757348 Botiller, Richard, of Childerle 4
4646013 2244906 2244906 defendant Stuyer John   759933 759933 Stuyer, John, of Brunne 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 16.103ms