grattan (version 1.7.1.2)

project_to: Simple projections of the annual 2% samples of Australian Taxation Office tax returns.

Description

Simple projections of the annual 2% samples of Australian Taxation Office tax returns.

Usage

project_to(sample_file, to_fy, fy.year.of.sample.file = NULL, ...)

Arguments

sample_file

A data.table matching a 2% sample file from the ATO. See package taxstats for an example.

to_fy

A string like "1066-67" representing the financial year for which forecasts of the sample file are desired.

fy.year.of.sample.file

The financial year of sample_file. See project for the default.

...

Other arguments passed to project.

Value

A sample file with the same number of rows as sample_file but with inflated values as a forecast for the sample file in to_fy. If WEIGHT is not already a column of sample_file, it will be added and its sum will be the predicted number of taxpayers in to_fy.