Learn R Programming

zipcodeR (version 0.4.0)

download_zip_data_bundle: Download a versioned zipcodeR data bundle

Description

Downloads one explicitly requested data release, verifies its checksum, and caches it in the user's data directory on R 4.0 or newer. On older supported R versions, CRAN policy does not permit a package-managed persistent cache, so the verified file is retained only for the current R session. The function never resolves aliases such as "latest", and no lookup function downloads data implicitly.

Usage

download_zip_data_bundle(version, force = FALSE)

Value

A validated zipcodeR_data_bundle.

Arguments

version

Exact registered data version, for example "2026.09".

force

Re-download and replace a verified cached copy.