home / cp40x

names

5 rows where case_id = 2315865

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4864482 2315865 2315865 plaintiff Fonell or Fouell Richard     Fonell or Fouell, Richard 0
4864483 2315865 2315865 defendant Smert John dyer 639898 639898 Smert, John, of Crukerne, Soms, dyer 0
4864484 2315865 2315865 defendant Bayded Thomas tailor 773470 773470 Bayded, Thomas, of Blaneford Forum, tailor 1
4864485 2315865 2315865 defendant Curell John tailor 585970 585970 Curell, John, of Oxford, tailor 2
4864486 2315865 2315865 defendant Parche John mercer 613561 613561 Parche, John, of Shirborne, mercer 3

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