home / cp40x

names

6 rows where case_id = 2498385

✎ 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
5477820 2498385 2498385 plaintiff Attewelle Thomas   589340 589340 Attewelle, Thomas, of Est Todenham 0
5477821 2498385 2498385 defendant Mounteney William husbandman 587782 587782 Mounteney, William, of Hokeryng, husbandman 0
5477822 2498385 2498385 defendant Felawe Henry tailor 591127 591127 Felawe, Henry, of Elsyng, tailor 1
5477823 2498385 2498385 defendant Shortwode John yeoman 591127 591127 Shortwode, John, of Elsyng, yeoman 2
5477824 2498385 2498385 defendant Boteld Thomas husbandman 592833 592833 Boteld, Thomas, of Wakton, husbandman 3
5477825 2498385 2498385 defendant Harveys or Harneys William chaplain 588849 588849 Harveys or Harneys, William, of North Tudenham, chaplain 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 5.918ms