home / cp40x

names

6 rows where case_id = 1866753

✎ 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
3597212 1866753 1866753 plaintiff Reve Nicholas     Reve, Nicholas 0
3597213 1866753 1866753 defendant Blakburn Thomas butcher 589318 589318 Blakburn, Thomas, of Elmedton, Middx, butcher 0
3597214 1866753 1866753 defendant Carter Alexander pedder 585937 585937 Carter, Alexander, of Bylston, pedder 1
3597215 1866753 1866753 defendant Candeler Andrew butcher 587746 587746 Candeler, Andrew, of Parva Waldyngfeld, butcher 2
3597216 1866753 1866753 defendant Prynchet Thomas weaver 589319 589319 Prynchet, Thomas, of Chellysworth, weaver 3
3597217 1866753 1866753 defendant Crowe Thomas thatcher 587716 587716 Crowe, Thomas, of Hecham, thatcher 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 9.288ms