Description Usage Arguments Value Examples
This function provides a mechanism to divide large data into small chunks.
1 | pre_process(data, init_res_status_data = NULL, n_groups = 1)
|
data |
A dataframe object. |
init_res_status_data |
The raw data of the initial residence status in the format of data frame. |
n_groups |
The number of groups required to be returned. |
A list object contains reformatted raw data.
1 2 3 4 5 6 7 8 9 10 11 | ## to suppresse log messages to the console
migrbc::initialize_logger(log_level = 1)
number_of_people = 10
person_data <- migrbc::setup_random_test_data(number_of_people,
initial_date = '2001-01-01',
numJourneys = 5,
min = 0,
max = 10)
crossings <- migrbc::pre_process(person_data, n_groups = 10)
crossings
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.