home / cp40x

names

6 rows where case_id = 2502497

✎ 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
5491931 2502497 2502497 plaintiff Clerk alias Tayllour Thomas   595741 595741 Clerk alias Tayllour, Thomas, of Nuneton 0
5491932 2502497 2502497 defendant Proctour John husbandman 592973 592973 Proctour, John, of Keresley, husbandman 0
5491933 2502497 2502497 defendant Tomlyns Thomas husbandman 611853 611853 Tomlyns, Thomas, of Fyllyngley, husbandman 1
5491934 2502497 2502497 defendant Alryche Thomas gent 772773 772773 Alryche, Thomas, of Shustok, gent 2
5491935 2502497 2502497 defendant Porter Thomas yeoman 717392 717392 Porter, Thomas, of Shenton, Leics, yeoman 3
5491936 2502497 2502497 defendant Prentoft William husbandman 892948 892948 Prentoft, William, of Grysse, husbandman 4

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.573ms