Writes the result of obis_place_indicators_exact() as the public derived
tables of the obis-h3 release: values only, no geometry.
Arguments
- result
the list returned by
obis_place_indicators_exact().- dir
output directory (a release directory); files go under
dir/place_exact/coll=<coll>/.- coll
the collection slug (letters, digits,
.,_,-).
Value
invisibly, the paths of the files written (indicators, years, species when present, meta.json).
Details
<dir>/place_exact/coll=<coll>/indicators.parquet place_id, eov, decade, n, sp, shannon,
simpson, es, hill_1, hill_2, bp, density
<dir>/place_exact/coll=<coll>/years.parquet place_id, eov, year, n, sp, shannon,
simpson, es, hill_1, hill_2, bp, density
<dir>/place_exact/coll=<coll>/species.parquet place_id, aphiaid, name_key, n, year_min,
year_max (when the result has species)
<dir>/place_exact/coll=<coll>/meta.json coll, places, rows, records_in/out/total,
overlaps, created, obisindicators_versionThe Parquet files are ZSTD compressed (DuckDB COPY), ordered by place.