Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# Assimilation
A study of immigrant assimilation using both Facebook advertising data and a traditional survey.
For more information, please refer to the WebConf 2019 paper [here](https://arxiv.org/pdf/1902.09453.pdf):
```
Stewart, I., Flores, R., Riffe, T., Weber, I., & Zagheni, E. (2019). Rock, Rap, or Reggaeton?: Assessing Mexican Immigrants' Cultural Assimilation Using Facebook Data. WebConf 2019.
```
## Install
Running the code requires installing packages with `conda`.
We need Python2.7 for `PySocialWatcher` until it gets upgraded to Python3+ (TBD).
```
conda create -n assimilation_py27 python=2.7 anaconda
conda install -r requirements.txt
```
## Running code
Before running code, the environment should be activated:
```
conda activate assimilation_py27
```
All code should be run from the base directory, e.g.:
```
python example_mine.py
```
To deactivate the environment after running code:
```
deactivate
```
## Relevant papers
- Measuring immigrant assimilation on Facebook: https://arxiv.org/pdf/1801.09430.pdf
- Social ties of immigrant communities: https://research.fb.com/wp-content/uploads/2016/11/the-social-ties-of-immigrant-communities-in-the-united-states.pdf
- Monitoring migrant stock: http://www.zagheni.net/uploads/3/4/4/7/34477700/zagheni_weber_gummadi_2017_accepted_version.pdf
## Resources
- American FactFinder (census data; American Community Survey estimates): https://factfinder.census.gov/
- Pew Hispanic (census data): http://www.pewhispanic.org/2017/05/03/facts-on-u-s-immigrants-current-data/