Crandore Hub

fscontext

File System Contextualisation and Record Set Reconstruction

Provides a provenance-aware framework for contextual reconstruction from file systems and related digital resource collections. The package creates reproducible snapshots of file-level metadata, paths, repository context, and optional content signatures. It supports contextual grouping, structural abstraction, temporal analysis, semantic stabilization, duplicate and reuse detection, and lightweight workflow reconstruction from file system observations. The framework deliberately separates observational evidence, contextual abstraction, semantic interpretation, and analytical reconstruction, enabling reproducible workflows that can be inspected by reviewers. It is designed to support future alignment with archival and contextual knowledge representation models, including the World Wide Web Consortium Provenance Ontology (PROV-O): Lebo et al. (2013) <https://www.w3.org/TR/prov-o/> and Records in Contexts developed by the International Council on Archives Expert Group on Archival Description (EGAD) <https://www.ica.org/ica-network/expert-groups/egad/records-in-contexts-ric/>.

README

<!-- README.md is generated from README.Rmd. Please edit that file -->

# fscontextdemo

<!-- badges: start -->

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.20382570.svg)](https://doi.org/10.5281/zenodo.20382570)
<!-- badges: end -->

`fscontextdemo` is a minimal demonstration package used to test,
document, and explain provenance-aware filesystem reconstruction
workflows with the `fscontext` and `dataset` packages.

The package provides:

- a small but realistic R package structure
- simple multilingual example functions
- generated artefacts and datasets
- Git history suitable for provenance reconstruction
- reproducible examples for vignettes and testing

The repository is intentionally designed as a small self-contained
playground for:

- filesystem observation
- contextual reconstruction
- provenance-aware reporting
- GitHub event reconstruction
- semantic enrichment workflows

without exposing personal or confidential project material.

## Installation

You can install the development version of `fscontextdemo` from GitHub
with:

``` r
# install.packages("pak")
pak::pak("dataobservatory-eu/fscontextdemo")
```

## Example

``` r
library(fscontextdemo)

hello_world()
#> [1] "Hello world!"
```

## Development goals

The package is intentionally minimal and experimental.

It is used to:

- develop `fscontext` reporting workflows
- test provenance-aware event journals
- demonstrate `dataset` semantic metadata patterns
- create reproducible examples for documentation and tutorials
- provide realistic integration testing scenarios

## Related packages

- `fscontext`
- `dataset`

Versions across snapshots

VersionRepositoryFileSize
0.2.0 rolling linux/jammy R-4.5 fscontext_0.2.0.tar.gz 3.0 MiB
0.2.0 rolling linux/noble R-4.5 fscontext_0.2.0.tar.gz 3.0 MiB
0.2.0 rolling source/ R- fscontext_0.2.0.tar.gz 2.8 MiB
0.2.0 latest linux/jammy R-4.5 fscontext_0.2.0.tar.gz 3.0 MiB
0.2.0 latest linux/noble R-4.5 fscontext_0.2.0.tar.gz 3.0 MiB
0.2.0 latest source/ R- fscontext_0.2.0.tar.gz 2.8 MiB
0.2.0 2026-04-23 source/ R- fscontext_0.2.0.tar.gz 0 B

Dependencies (latest)

Imports

Suggests