Skip to content

ftmq

Usage:

ftmq [OPTIONS] COMMAND [ARGS]...

aggregate

Merge entities by id in memory.

With --downgrade, entities with conflicting schemata merge into their common parent schema.

Usage:

ftmq aggregate [OPTIONS]

apply-dataset

Add a dataset to the entities of a stream (--replace-dataset replaces theirs).

Usage:

ftmq apply-dataset [OPTIONS]

catalog

Usage:

ftmq catalog [OPTIONS] COMMAND [ARGS]...

generate

Convert a catalog YAML specification into json, fetching dataset metadata.

Usage:

ftmq catalog generate [OPTIONS]

iterate

Usage:

ftmq catalog iterate [OPTIONS]

dataset

Usage:

ftmq dataset [OPTIONS] COMMAND [ARGS]...

generate

Convert a dataset YAML specification into json, optionally with statistics.

Usage:

ftmq dataset generate [OPTIONS]

iterate

Usage:

ftmq dataset iterate [OPTIONS]

fragments

Usage:

ftmq fragments [OPTIONS] COMMAND [ARGS]...

iterate

Iterate the aggregated entities of a fragments dataset.

Usage:

ftmq fragments iterate [OPTIONS]

iterate-fragments

Iterate the raw fragments of a dataset, unsorted and not aggregated.

For streaming into a storage that aggregates by itself.

Usage:

ftmq fragments iterate-fragments [OPTIONS]

list-datasets

List the datasets of a fragments store.

Usage:

ftmq fragments list-datasets [OPTIONS]

q

Filter entities from a json stream or a store.

Several -q / --rql strings AND together. Writes the matching entities, or instead their coverage statistics (--stats) or the result of an aggregating query.

Usage:

ftmq q [OPTIONS]

Search stores for followthemoney entities

Usage:

ftmq search [OPTIONS] COMMAND [ARGS]...

autocomplete

Autocomplete based on entities captions

Usage:

ftmq search autocomplete [OPTIONS] {q}

index

Index a stream of search documents to a store

Usage:

ftmq search index [OPTIONS]

search

Simple search against the store

Usage:

ftmq search search [OPTIONS] {q}

transform

Create search documents from a stream of followthemoney entities

Usage:

ftmq search transform [OPTIONS]

statements

Usage:

ftmq statements [OPTIONS] COMMAND [ARGS]...

cast-types

Cast number and date statement values into their canonical format.

The raw value moves into original_value. The SQL backends expect this format.

Usage:

ftmq statements cast-types [OPTIONS]

read

Dump the raw statements of a store (SQL backends only) into a statement stream.

The dump loads back verbatim via ftmq statements write.

Usage:

ftmq statements read [OPTIONS]

write

Load a statement stream into a store.

Each statement keeps its canonical_id (not re-derived from a resolver). A SQL store upserts on the statement id, so a dump loads back in place.

Usage:

ftmq statements write [OPTIONS]

store

Usage:

ftmq store [OPTIONS] COMMAND [ARGS]...

iterate

Iterate all entities of a store.

Usage:

ftmq store iterate [OPTIONS]

list-datasets

List the datasets of a store.

Usage:

ftmq store list-datasets [OPTIONS]