R script: Public preferences for policy intervention to protect public health from maritime activities: A 14 European country study

Published: 8 February 2021| Version 1 | DOI: 10.17632/c6mm858svc.1
Beth Roberts


Methods The SOPHIE survey was a 14-country survey developed as part of the Seas, Oceans and Public Health in Europe (SOPHIE) project funded under the EU’s Horizon 2020 Framework Programme (https://sophie2020.eu/). A total of 14,157 individuals (Mage = 46, age range: 18-99 years, 6898 men and 7269 women) participated in the survey. Country selection was based on several criteria including a desire to have at least one country with a coastline on each of the European sea/ocean basins (i.e. Atlantic, Baltic, Black, Mediterranean, North, Arctic), one landlocked country with no coastline for comparison (i.e. Czech Republic), and countries with key maritime sectors (e.g. Norway). Accordingly, the 14 countries selected were: Belgium, Bulgaria, Czech Republic, France, Germany, Greece, Republic of Ireland, Italy, the Netherlands, Norway, Poland, Portugal, Spain and the United Kingdom (which at the time of the survey was still in the EU). The survey was administered online in March and April 2019 by international market research company YouGov using established respondent panels. Eligible participants (aged 18 and above and registered as a resident in one of the 14 countries) were invited to complete the survey by YouGov. Samples of approximately 1,000 respondents per country were stratified to be nationally representative on age, gender, and region, as per previous studies in this field (e.g. Gelcich et al., 2014). Survey questions were translated into local languages were appropriate. Where possible, established scales and items from pre-existing surveys where used (e.g. the European Social Survey (ESS, 2018)) to ensure robustness and pre-translation. The data were provided to the research team for analysis already anonymised; and ethical approval for the research was provided by the University of Exeter Medical School Ethics Committee (reference number: Nov18/B/171). The R script The script files contain the code used to create the models, tables and figures in the paper entitled "Public preferences for policy intervention to protect public health from maritime activities: A 14 European country study". The data needed for this analysis will be released at a later date.


Steps to reproduce

The analytical software R and R Studio is needed to use the code. The packages needed to run the code are stated at the beginning of the code. The version of R used to run this code was R version 3.6.1 and all packages and script used worked at the time of analysis.


University of Exeter


Perception, Health, Europe, Ocean, Maritime Industry