home / cp40x

names

6 rows where case_id = 2312052

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4851975 2312052 2312052 plaintiff Walpole John   585869 585869 Walpole, John, of London, brass worker 0
4851976 2312052 2312052 defendant Frenshe John draper 812770 812770 Frenshe, John, of St Edmondesbury, Suffolk, draper 0
4851977 2312052 2312052 defendant Scotte John   599814 599814 Scotte, John, of Rumford, Essex, glove maker 1
4851978 2312052 2312052 defendant Bolle John husbandman 812772 812772 Bolle, John, of Chipping Ongar, Essex, husbandman 2
4851979 2312052 2312052 defendant Chapman John ostler 812773 812773 Chapman, John, of Great Marlow, Bucks, ostler 3
4851980 2312052 2312052 defendant Teynton John butcher 587398 587398 Teynton, John, of Luton, Beds, butcher 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 14.792ms