home / cp40x

names

10 rows where case_id = 2242410

✎ 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
4637109 2242410 2242410 plaintiff Birne John     Birne, John 0
4637110 2242410 2242410 defendant Dust Thomas   593651 593651 Dust, Thomas, of Knottyngley 0
4637111 2242410 2242410 defendant Hode Robert book binder   Hode, Robert, book binder 1
4637112 2242410 2242410 defendant Waldyng John   776745 776745 Waldyng, John, of Newela_ 2
4637113 2242410 2242410 defendant Douton William   776746 776746 Douton, William, of Gerlethorp 3
4637114 2242410 2242410 defendant Cawod John (legal representative) 586067 586067 Cawod, John, of York, butcher, executors of 4
4637115 2242410 2242410 defendant Cawod William, sen     (Cawod, William, sen 5
4637116 2242410 2242410 defendant Cawod William jun   Cawod, William, jun 6
4637117 2242410 2242410 defendant Hornbe Thomas draper 586067 586067 Hornbe, Thomas, of York, draper 7
4637118 2242410 2242410 defendant Hornbe Margery     Margery, his wife 8

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.303ms