Data & Code


I am involved in the "Children of Immigrant Longitudinal Survey in Four European Countries" (CILS4EU) and the "Children of Immigrant Longitudinal Survey in the Netherlands" (CILSNL). The CILS4EU is dedicated to the comparative analysis of the development of immigrants’ children. It is the first comprehensive study on this topic in Europe (Netherlands, England, Sweden, and Germany) – an opportunity for researchers to study the internal processes leading to integration. The European project lasted 3 years and collected 3 waves of data. The CILSNL continues the CILS4EU study (wave 1-3) with 4 further waves collected among Dutch youth (N = 5,000; wave 4-7). For the CILSNL (wave 4-7) I co-coordinated the fieldwork and was responsible for the online survey and database.


CILS4EU International website

CILSNL & CILS4EU Dutch website (YES! is the public name)

CILS4EU wave 1-3 data deposit 

Online Network Data

I was responsible for the fieldwork, cleaning, and release of the Dutch Facebook Survey: wave 1 (DFS1) and the Dutch Facebook Survey: wave 2 (DFS2). I was also responsible for the cleaning and release of the Dutch Hyves Survey (DHS). These data collection projects were to enrich the CILS4EU and CILSNL data with online network behaviors of respondents. The DFS1 and DHS were collected via coding assistants that downloaded complete Facebook and Hyves profiles of the CILS4EU respondents. The DFS2 data downloads (complete egocentric networks) occured via an application as part of the CILSNL. These data collection efforts were reviewed and approved by an ethical review board.


DFSW1 data deposit

DHS data deposit (to be released)

Labatory Experiments

As part of a research project, I conducted a labatory experiment in which we studied the interplay between network structure and position and social learning. I programmed the experiment in Z-tree and conducted the experimental sessions at the "Experimental Laboratory for Sociology and Economics" (ELSE) at Utrecht University. The corresponding paper is published in Social Networks as "Learning in Social Networks: Selecting Profitable Choices of Uncertain Profitability in Various Networks."


ELSE Website

LISN data deposit (possibly to be released) 

Code & Replication

A Simple Twitter mining + Gephi visualization tutorial 

My website unfortunately doesn't let me upload ".R" files, so you can copy and paste the code in the document to your R program.



Bas Hofstra

Radboud University

Department of Sociology


Montessorilaan 36525 HR Nijmegen

E-mail: bas.hofstra [at]