home / cp40x

names

6 rows where case_id = 2357050

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5000617 2357050 2357050 plaintiff Maltby William     Maltby, William 0
5000618 2357050 2357050 defendant Byrne John mercer 586846 586846 Byrne, John, of Lincoln, mercer 0
5000619 2357050 2357050 defendant Skayman Richard chapman 586846 586846 Skayman, Richard, of Lincoln, chapman 1
5000620 2357050 2357050 defendant Rothemell John draper 586846 586846 Rothemell, John, of Lincoln, draper 2
5000621 2357050 2357050 defendant Notyng William fisherman 833175 833175 Notyng, William, of Lavennok, Cornwall, fisherman 3
5000622 2357050 2357050 defendant Preston William   644564 644564 Preston, William, of Leominster, Herefs, wax chandler 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 11.098ms