home / cp40x

names

8 rows where case_id = 2170204

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4417041 2170204 2170204 plaintiff Purtel Adam   595802 595802 Purtel, Adam, of Ovyng 0
4417042 2170204 2170204 defendant Watford Simon de   753952 753952 Watford, Simon de, of Wedon by Aylesbury 0
4417043 2170204 2170204 defendant (not given) Ralph his brother   Ralph, his brother 1
4417044 2170204 2170204 defendant Smyth Richard le son of John   Smyth, Richard le, son of John 2
4417045 2170204 2170204 defendant Cappe Roger     Cappe, Roger 3
4417046 2170204 2170204 defendant Ayllaf John   608440 608440 Ayllaf, John, of Whytchurche 4
4417047 2170204 2170204 defendant Robyn Richard   630567 630567 Robyn, Richard, of Pychecote 5
4417048 2170204 2170204 defendant Soutere Robert le   608440 608440 Soutere, Robert le, of Whytchurche, son of Reginald 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 13.279ms