home / cp40x

names

7 rows where case_id = 2222624

✎ 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
4571347 2222624 2222624 plaintiff Abot John     Abot, John 0
4571348 2222624 2222624 defendant Capon Robert     Capon, Robert 0
4571349 2222624 2222624 defendant Blythe William   586846 586846 Blythe, William, of Lincoln 1
4571350 2222624 2222624 defendant Archier Thomas   770792 770792 Archier, Thomas, of Osgodby in Kesteven 2
4571351 2222624 2222624 defendant Lyght Thomas in the, of Canewyk   Lyght, Thomas, in the, of Canewyk 3
4571352 2222624 2222624 defendant Partrik William   590820 590820 Partrik, William, of Faldyngworth 4
4571353 2222624 2222624 defendant Barbour Thomas   603083 603083 Barbour, Thomas, of Wragby 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 7.747ms