home / cp40x

names

7 rows where case_id = 2398119

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5139807 2398119 2398119 plaintiff Spret Richard     Spret, Richard 0
5139808 2398119 2398119 defendant Dodworth William   608098 608098 Dodworth, William, of Lounde 0
5139809 2398119 2398119 defendant Cole Thomas husbandman 608098 608098 Cole, Thomas, of Lounde, husbandman 1
5139810 2398119 2398119 defendant Paweson (illegible) glover 760474 760474 Paweson, ---, of Maunsfeld Wodehous, glover 2
5139811 2398119 2398119 defendant Hunter William husbandman 851952 851952 Hunter, William, of Tres--, husbandman 3
5139812 2398119 2398119 defendant Pyncheware William   754625 754625 Pyncheware, William, of Mansfield Woodhouse 4
5139813 2398119 2398119 defendant Loundy (illegible) husbandman 597249 597249 Loundy, --, of Parlethorp, husbandman 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 16.334ms