Skip to content

Open Knowledge Format (OKF) Ingestion

0packages depend
1Kdownloads / year
59.0%test coverage
13/13flavors OK

Overview

About

Read, validate, and load Open Knowledge Format (OKF) bundles (a directory of markdown files with YAML frontmatter) into a portable DuckDB catalog, build the concept graph, render to HTML, and optionally embed concept bodies for semantic search. Deterministic and agent-free: the same bundle always yields the same catalog, graph, and render, with no LLM calls in the core. Conformant and permissive per the OKF v0.1 specification.

Changes in 0.7.0
  • New okf_diff(): deterministic concept-level changelog between two states of a bundle. Each side can be a bundle directory, an okf_read() bundle, a DuckDB catalog path, or an open connection — so it covers both "what drifted since the last ingest" (catalog vs directory) and snapshot-vs-snapshot comparison. Reports concepts added/removed/changed (by content_hash), frontmatter type/title changes, and link-graph deltas (edges added/removed, links newly broken or fixed).
  • CLI: new diff verb (okf diff <a> <b> [--json]), exit 0 when identical / 1 when different, for use as a CI change gate.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-30
  • ERROR12 OK, 1 ERROR2026-09-04
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-07-01
Advisories

none known

Documentation

In release 0.7.0
READMENoVignettesNoNEWSYes · 100% structured · mentions 0.7.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
26 (1 internal)includes a package overview page
Examples that run
no examples
Exported functions with examples
0%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
0%

Downloads

1K
CRAN downloads in the past year
Rank #16,540 · ~3/day · ~87/mo
Daily download trend is not available in this view yet.
23730 days
76590 days
1K1 year
Compare downloads with other packages →
Also on22 r2u1 autocran

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing okf adds 5 packages (4 with compiled code, 9.9 MB of source tarballs). Heaviest: duckdb 7.9 MB, jsonlite 1.0 MB, DBI 727 KB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.5.2 (2026)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.7.0Latest
    record
    2026-07-02 · current release · diff ↗ ·
    added 2 exports
    okf_diff, okf_extract_wikilinks
  • 0.5.2
    record
    2026-06-30
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-30
Total releases
2 / 1 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.1.0
Download size
35 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("okf")
Jakel, T. (2026). okf: Open Knowledge Format (OKF) Ingestion (Version 0.7.0) [Computer software]. https://doi.org/10.32614/CRAN.package.okf

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for okf version 0.7.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy