home / cp40x

names

6 rows where case_id = 2553859

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5631490 2553859 2553859 plaintiff Smyth Thomas   771263 771263 Smyth, Thomas, of Dorneye 0
5631491 2553859 2553859 plaintiff Philipp John     Philipp, John 1
5631492 2553859 2553859 defendant Tebaude Peter weaver 595810 595810 Tebaude, Peter, of Wyndesore, Berks, weaver 0
5631493 2553859 2553859 defendant Harneys or Harveys William tailor 630176 630176 Harneys or Harveys, William, of Wyndesore, tailor 1
5631494 2553859 2553859 defendant Lyndesey John yeoman 615369 615369 together with Lyndesey, John, of Burnham, Bucks, yeoman 2
5631495 2553859 2553859 defendant Cook Thomas laborer 840715 840715 Cook, Thomas, of Taplewe, laborer 3

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 7.816ms