| td_write_metadata | R Documentation |
Writes manifest.csv and README.md into the snapshot directory, ready
to be uploaded alongside the Parquet files.
td_write_metadata(
version = format(Sys.Date(), "%Y"),
dir = build_dir(),
repo = taxadb_repo(),
archival = FALSE,
db = td_connect()
)
version |
the snapshot version to describe |
dir |
the build output directory, see |
repo |
the data repository the snapshot will be published to |
archival |
is this a republication of a historical release rather than a fresh build? Archival snapshots are byte-identical to what that version originally contained, so they predate the current schema rules and the README says so. |
db |
a duckdb connection |
The README states what the tables are, what the schema means, where each provider's data came from and under what licence, so that someone who finds the data without the package can still use it.
the paths written, invisibly
## Not run:
td_write_metadata("2026")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.