The goal of this package is to provide users who would like to use (or generate) fake PIP data in several formats (raw or cache) and distribution types (micro, group, bin or imputed).
You can install the development version of pipfaker from GitHub with:
# install.packages("pak")
pak::pak("PIP-Technical-Team/pipfaker")
This is a basic example which shows you how to use a fake PIP data set:
library(pipfaker)
## basic example code
micro_cache_pip <- fk_cache_micro
mean_welf <- mean(micro_cache_pip$welfare_ppp, w = micro_cache_pip$weight)
mean_welf
#> [1] 167.9859