home / cp40x

names

7 rows where case_id = 2353320

✎ 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
4987808 2353320 2353320 plaintiff Blount Walter esq   Blount, Walter, esq 0
4987809 2353320 2353320 defendant Somyneder William husbandman 587921 587921 Somyneder, William, of Stanton, husbandman 0
4987810 2353320 2353320 defendant Halome John husbandman 587921 587921 Halome, John, of Stanton, husbandman 1
4987811 2353320 2353320 defendant Grove Thomas husbandman 613126 613126 Grove, Thomas, of Santon, husbandman 2
4987812 2353320 2353320 defendant Russe Robert husbandman 587921 587921 Russe, Robert, of Stanton, husbandman 3
4987813 2353320 2353320 defendant Warde William yeoman 831089 831089 Warde, William, of Amkaston, yeoman 4
4987814 2353320 2353320 defendant Dover John laborer 831090 831090 Dover, John, of Amlaston, laborer 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 14.227ms