Published July 12, 2021 | Version v1
Dataset Open

R code and dataset to "Monetizing Spillover Effects in the Creative Industries: the Impact of Live Music Performances on Youtube Searches"

  • 1. Universitat de València

Description

Content:

  1. The script main_script.R includes code to run a regression discontinuity (RD) design and validation and falsification of estimated results
  2. The folder data contains two files:
    1. bands_2016_2019.csv: a dataset of performers with additional information for each one.
    2. festivals_2016_2019.csv: a dataset of video search activity (as retrieved from Google Trends) for performers in file bands_2016_2019.csv
  3. The folder source contains two additional  R scripts:
    1. data_preparation.R: generates the long dataset used to estimate RD effects
    2. status_simulation.R: randomly assigns treattment status to performers and estimates RD effects.  Note this may take a long time to run. Parallel code is used: the number of cores has been set to 4. 
  4. The folder simulation_results contains simulated data after running the script status_simulation.R.

Notes

R libraries required: doParallel foreach lubridate rdrobust rddensity rdlocrand stringr tidyverse

Files

R_source_code_and_dataset.zip

Files (2.0 MB)

Name Size Download all
md5:1cfa402a094bdc4121444db14ad2c562
2.0 MB Preview Download