home / cp40x

names

7 rows where case_id = 2015067

✎ 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
3972820 2015067 2015067 plaintiff Gleane Thomas     Gleane, Thomas 0
3972821 2015067 2015067 defendant Knyvett Edmund gent 636678 636678 Knyvett, Edmund, of of Felbrygg, gent 0
3972822 2015067 2015067 defendant Palmer Robert palmer 585936 585936 Palmer, Robert, of Norwich, palmer 1
3972823 2015067 2015067 defendant Marsham Henry yeoman 664419 664419 Marsham, Henry, of Stratton juxta Buxton, yeoman 2
3972824 2015067 2015067 defendant Randolffe John yeoman 590227 590227 Randolffe, John, of Shelton, yeoman 3
3972825 2015067 2015067 defendant Grene Thomas tailor 585936 585936 Grene, Thomas, of Norwich, tailor 4
3972826 2015067 2015067 defendant Car Thomas yeoman 664420 664420 Car, Thomas, of Postwick, 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 15.613ms