home / cp40x

names

7 rows where case_id = 2012501

✎ 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
3965360 2012501 2012501 plaintiff Baskervyle John esq 662547 662547 Baskervyle, John, of Chenston, esq 0
3965361 2012501 2012501 defendant Lloyd Thomas ap Rees Thomas, of Newton, husbandman   Lloyd, Thomas ap Rees, Thomas, of Newton, husbandman 0
3965362 2012501 2012501 defendant Morrys David cordwainer 662217 662217 Morrys, David, of Treloughe, cordwainer 1
3965363 2012501 2012501 defendant Kerver John weaver 596960 596960 Kerver, John, of Staundon, weaver 2
3965364 2012501 2012501 defendant Knappe Henry clerk 602351 602351 Knappe, Henry, of Stretton, clerk 3
3965365 2012501 2012501 defendant Jones Roland cordwainer 662548 662548 Jones, Roland, of Peston, cordwainer 4
3965366 2012501 2012501 defendant Tyler Richard yeoman 650639 650639 Tyler, Richard, of Turneston, yeoman 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 11.905ms