home / cp40x

names

7 rows where case_id = 2326948

✎ 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
4901028 2326948 2326948 plaintiff Folneby Richard     Folneby, Richard 0
4901029 2326948 2326948 defendant Mason William   586981 586981 Mason, William, of Louth, mason 0
4901030 2326948 2326948 defendant Skotte John husbandman 586615 586615 Skotte, John, of Croxton, husbandman 1
4901031 2326948 2326948 defendant Milner John miller 766305 766305 Milner, John, of Wraweby, miller 2
4901032 2326948 2326948 defendant Sharp John miller 669710 669710 Sharp, John, of Worleby, miller 3
4901033 2326948 2326948 defendant Sevenant Peter yeoman 593113 593113 Sevenant, Peter, of Grymesby, yeoman 4
4901034 2326948 2326948 defendant Kyng Richard husbandman 819274 819274 Kyng, Richard, of Kynderby, 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 16.205ms