home / cp40x

names

8 rows where case_id = 2434006

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5262467 2434006 2434006 plaintiff Osmondeston John clerk   Osmondeston, John, clerk 0
5262468 2434006 2434006 defendant Wyndesore William butcher 807646 807646 Wyndesore, William, of Woulle, butcher 0
5262469 2434006 2434006 defendant Baker Walter husbandman 607692 607692 Baker, Walter, of West Lulleworth, husbandman 1
5262470 2434006 2434006 defendant Borde William husbandman 865614 865614 Borde, William, of Wynford Neuburgh, husbandman 2
5262471 2434006 2434006 defendant Bocher Robert husbandman 662789 662789 Bocher, Robert, of Brode Mayne, husbandman 3
5262472 2434006 2434006 defendant Neweman John husbandman 865614 865614 Neweman, John, of Wynford Neuburgh, husbandman 4
5262473 2434006 2434006 defendant Touche John husbandman 650072 650072 Touche, John, of Warmewell, husbandman 5
5262474 2434006 2434006 defendant Barbour John barber 589851 589851 Barbour, John, of Dorchester, barber 6

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