home / cp40x

names

5 rows where case_id = 2312021

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4851872 2312021 2312021 plaintiff Waleys John   588415 588415 Waleys, John, of Ultyng 0
4851873 2312021 2312021 defendant Basset Thomas gent 586576 586576 Basset, Thomas, of Wytham, gent 0
4851874 2312021 2312021 defendant Rouchestre John husbandman 586576 586576 Rouchestre, John, of Wytham, husbandman 1
4851875 2312021 2312021 defendant Treppe William laborer 586576 586576 Treppe, William, of Wytham, laborer 2
4851876 2312021 2312021 defendant Smyth John weaver 586576 586576 Smyth, John, of Wytham, weaver 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 9.666ms