Skip to contents

Downloads and caches one O*NET text archive. Existing non-empty cached files are reused.

Usage

onet_archive_download(version, dir = onet_cache_dir())

Arguments

version

O*NET database version, for example "30.3".

dir

Cache directory.

Value

The path to the cached ZIP file.

Examples

if (interactive()) {
  path <- onet_archive_download("30.3")
  basename(path)
}