home / cp40x

names

7 rows where case_id = 2531909

✎ 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
5590204 2531909 2531909 plaintiff Shelton John knight   Shelton, John, knight 0
5590205 2531909 2531909 defendant Michull John husbandman 596323 596323 Michull, John, of Cromer, husbandman 0
5590206 2531909 2531909 defendant Wyllys Thomas husbandman 593527 593527 Wyllys, Thomas, of Saxlyngham, husbandman 1
5590207 2531909 2531909 defendant Amys Edward husbandman 596683 596683 Amys, Edward, of Berton, husbandman 2
5590208 2531909 2531909 defendant Laneman James husbandman 586364 586364 Laneman, James, of Long Stratton, husbandman 3
5590209 2531909 2531909 defendant Sowrysby Thomas husbandman 593073 593073 Sowrysby, Thomas, of Burnham, husbandman 4
5590210 2531909 2531909 defendant Barker Roger husbandman 586933 586933 Barker, Roger, of Barford, husbandman 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.545ms