
Package-level cache for the parsed KST 13ed JSON files
Source:R/canonical-kst13.R
dot-KST13_CACHE.Rdv0.9.65 (Copilot review #5): kst13_criteria() previously
parsed the full ~3.1 MB criteria JSON on every call. Looping over
a few hundred codes was crippling. This cache loads each JSON
once per session.
Details
Kept in a private environment so package-internal code can reach
the cached objects via .KST13_CACHE$<filename> but external
callers must go through kst13_codes /
kst13_criteria.