home / cp40x

names

6 rows where case_id = 2428017

✎ 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
5242515 2428017 2428017 plaintiff Michell John     Michell, John 0
5242516 2428017 2428017 defendant Bermychamp John clerk 778421 778421 Bermychamp, John, of Bedewynd, clerk 0
5242517 2428017 2428017 defendant Serle John mercer 808590 808590 Serle, John, of Warmystre, mercer 1
5242518 2428017 2428017 defendant Taillour William husbandman 863299 863299 Taillour, William, of Seynt Mary Bourne, Hants, husbandman 2
5242519 2428017 2428017 defendant Holbeme William   592205 592205 Holbeme, William, of Hyndon, bailiff 3
5242520 2428017 2428017 defendant Brond Walter husbandman 852032 852032 Brond, Walter, of Okebourn St George, 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 17.141ms