Changelog
Source:NEWS.md
pkmapr 1.4.0
- Added
paletteandbreaksarguments topk_map()for control over choropleth colour scales and legend break points. - Added
gainsstyle = “idw” topk_neighbors()for inverse distance weights. - Added cross-reference to PakPC2023 (Yaseen et al.) for census indicator data.
pkmapr 1.3.0
- version 1.2.1 is now on CRAN.
- Redesigned
pk_neighbors(): thedisputedargument now accepts"include"(default),"exclude_both","exclude_gb", and"exclude_ajk", giving analysts control over whether GB and AJK participate in the spatial weights structure. -
pk_neighbors()now returns adataelement containing thesfobject used to build the weights, always in row-for-row alignment withnbandlistw. - Also polished all three vignettes.
pkmapr 1.2.1
CRAN release: 2026-05-13
- Added missing
\valuetags to exported functions. - Enhanced documentation with output structure and meaning.
pkmapr 1.1.0
- Removed
simplifiedparameter; data is now always the simplified version. - Removed
refreshparameter; data is now embedded in the package with no downloading required. - Removed
pkmapr_cache_info()andpkmapr_clear_cache(). - Package size reduced.
pkmapr 0.3.0
- New function
pk_version(): checks the installed version against the latest GitHub release. - New function
pk_search(): searches across all admin levels with optional fuzzy matching. - Province and district filters are now case-insensitive.
- Error messages now show valid options when a filter fails.
- Whitespace is automatically trimmed from filter inputs.
- Documentation updated to reflect case-insensitive and fuzzy matching usage.
- Added
jsonliteto Imports.