Description Usage Arguments Value References
Assign schools to a synthetic population.
| 1 2 | assign_schools(people, schools, weightSchools = weight_dists,
  distFun = haversine)
 | 
| people | data frame of synthetic people | 
| schools | list with public and private school data frames | 
| weightSchools | Function to weight the schools | 
| distFun | Function to compute distance between schools and agents | 
a column of school assignments by school ID
See PUMS CODEBOOK: http://www2.census.gov/programs-surveys/acs/tech_docs/pums/data_dict/PUMS_Data_Dictionary_2010-2014.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.