home / cp40x

names

6 rows where case_id = 2353971

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4990180 2353971 2353971 plaintiff Cart John     Cart, John 0
4990181 2353971 2353971 defendant Ryall Thomas husbandman 831479 831479 Ryall, Thomas, of North Chyryton, husbandman 0
4990182 2353971 2353971 defendant Rycheman John butcher 831480 831480 Rycheman, John, of Henxstrygge, butcher 1
4990183 2353971 2353971 defendant Hoghere John husbandman 786918 786918 Hoghere, John, of Aulton, Dorset, husbandman 2
4990184 2353971 2353971 defendant Adams John butcher 831481 831481 Adams, John, of Hyghham, Soms, butcher 3
4990185 2353971 2353971 defendant Adams Richard   831482 831482 Adams, Richard, of Hyghham, groom 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.954ms