home / cp40x

names

7 rows where case_id = 2410796

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5183079 2410796 2410796 plaintiff Cotton Thomas gent 588081 588081 Cotton, Thomas, of Cambridge, gent 0
5183080 2410796 2410796 defendant Cappe John husbandman 642375 642375 Cappe, John, of Swaffham Bulbek, husbandman 0
5183081 2410796 2410796 defendant Dey John husbandman 642375 642375 Dey, John, of Swaffham Bulbek, husbandman 1
5183082 2410796 2410796 defendant Bataille John yeoman 589150 589150 Bataille, John, of Maldon, Essex, yeoman 2
5183083 2410796 2410796 defendant Donton Thomas husbandman 642375 642375 Donton, Thomas, of Swaffham Bulbek, husbandman 3
5183084 2410796 2410796 defendant Donton Thomas yeoman 590804 590804 Donton, Thomas, of Bottesham, yeoman 4
5183085 2410796 2410796 defendant Harle Robert   856949 856949 Harle, Robert, of Swaffham Bulbek, yeom 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 13.284ms