-
Notifications
You must be signed in to change notification settings - Fork 0
Preparing data for estimation
Alberto Cottica edited this page Jan 31, 2018
·
1 revision
- Start with JSON output: posts, comments, users.
- Run them through edgesense. This results in another JSON
network.min.json
. - Run the script
json2CSV
. This acceptsnetwork.min.json
as an input and produces a CSV file,panelData.csv
. The CSV file is a flattened representation of panel data. Each row is an observation. The first two columns denote the node ID and the time period. The other columns describe the state of the relevant variables referring to that node and that time period. - Launch Stata and open
panelData.csv
with it, then save it in Stata format.