home / cp40x

names

7 rows where case_id = 2324947

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4894482 2324947 2324947 plaintiff atte Melle Richard   818484 818484 atte Melle, Richard, of Borham, Sussex 0
4894483 2324947 2324947 plaintiff Chaundeler Thomas   818485 818485 Chaundeler, Thomas, of Tonbregg, Kent 1
4894484 2324947 2324947 defendant Scharnall William   586249 586249 Scharnall, William, of Est Mallyng, mason 0
4894485 2324947 2324947 defendant Meller William husbandman 818486 818486 Meller, William, of Bechyngwode, husbandman 1
4894486 2324947 2324947 defendant Desy William husbandman 592055 592055 Desy, William, of Ryerssh, husbandman 2
4894487 2324947 2324947 defendant Berard John husbandman 614863 614863 Berard, John, of Mepham, husbandman 3
4894488 2324947 2324947 defendant Lorkyn Thomas husbandman 591871 591871 Lorkyn, Thomas, of Berlyng, husbandman 4

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