home / cp40x

names

8 rows where case_id = 2341949

✎ 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
4949921 2341949 2341949 plaintiff Norys John esq   Norys, John, esq 0
4949922 2341949 2341949 defendant Drayton Thomas gent 813599 813599 Drayton, Thomas, of Cranford, Nhants, gent 0
4949923 2341949 2341949 defendant Wright William yeoman 595646 595646 Wright, William, of Multon, Nhants, yeoman 1
4949924 2341949 2341949 defendant Wilby Thomas husbandman 826306 826306 Wilby, Thomas, of Bukton, Nhants, husbandman 2
4949925 2341949 2341949 defendant Yngeland Richard yeoman 719273 719273 Yngeland, Richard, of Welton, Nhants, yeoman 3
4949926 2341949 2341949 defendant Terry Richard husbandman 826307 826307 Terry, Richard, of Bryngton, Nhants, husbandman 4
4949927 2341949 2341949 defendant Busford or Bufford John yeoman 826308 826308 Busford or Bufford, John, of Keslyngbury, Nhants, yeoman 5
4949928 2341949 2341949 defendant Warner John husbandman 607197 607197 Warner, John, of Nhants, husbandman 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 16.801ms