followthemoney icon indicating copy to clipboard operation
followthemoney copied to clipboard

Added filter_recent command to cli to filter out old entities

Open manonromain opened this issue 3 years ago • 2 comments

When the store becomes large, and is partially updated regularly (eg if you have a quota for accessing an API - the French Company Registry is one example), it is useful to parse only recently added entities. To use filter_recent, the retrievedAt property of entities needs to be properly filled out.

manonromain avatar Aug 10 '22 13:08 manonromain

Thanks for creating this pull request @manonromain, we're taking a look and will come back with questions if we have them.

Rosencrantz avatar Aug 28 '22 23:08 Rosencrantz

@manonromain Just thinking about this, perhaps a different way of looking at this would be to implement a more generic filter where you can provide a value that you want to filter and the argument by which you want to filter?

Rosencrantz avatar Sep 21 '22 09:09 Rosencrantz

Closing this as it's a bit too specific to include, and we might want to look at implementing a more general filtering tool in the future.

pudo avatar Feb 08 '23 13:02 pudo