This function is used to resolve one person's journeys, i.e., classifying a person and marking it whether or not to be a long term migrant based on the person's journeys. This function is used internally inside the package and shouldn't be exposed to the outside caller.
rcpp_resolve(person_data, int_res_status, initial_date_finalised, tw, tm)A list object of a person's journeys.
The initial residence status of the target person
The final resolved date of the initial residence status.
Windows Size, by default, it is 487 days.
Threshold of Year, by default, it is 365 days.
A list of classified / labelled journeys.