home / cp40x

names

9 rows where case_id = 2237270

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4620104 2237270 2237270 plaintiff Hunt John   590873 590873 Hunt, John, of Normanton 0
4620105 2237270 2237270 defendant Box John     Box, John 0
4620106 2237270 2237270 defendant Box Agnes     Agnes, his wife 1
4620107 2237270 2237270 defendant Whitlay Robert skinner 757836 757836 Whitlay, Robert, of Pountfreyt, skinner 2
4620108 2237270 2237270 defendant Godered Thomas tailor 757836 757836 Godered, Thomas, of Pountfreyt, tailor 3
4620109 2237270 2237270 defendant Snawe Adam plasterer 757836 757836 Snawe, Adam, of Pountfreyt, plasterer 4
4620110 2237270 2237270 defendant Bereswerd John skinner 757836 757836 Bereswerd, John, of Pountfreyt, skinner 5
4620111 2237270 2237270 defendant Flokton John     Flokton, John 6
4620112 2237270 2237270 defendant Robert servant of Swillyngton     Robert, servant of Swillyngton 7

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