The goal of emmregextract is to extract a selection of surveys from the EMM Survey Registry (https://ethmigsurveydatahub.eu/), and export an Excel file formatted in the same way as the internal Excel files.
Ando, Yuma, assistant statisticien au Centre d'études européennes et de politique comparée (UMR8239, Sciences Po/CNRS)
You can install the development version of emmregextract from GitHub with:
# install.packages("devtools")
devtools::install_github("yuma-ando/emmregextract")
This is a basic example which shows you how to solve a common problem:
library(emmregextract)
## basic example code
#Extraction of a sigle survey
emm_extract("https://registry.ethmigsurveydatahub.eu/surveys/2870")
#Extraction of multiple surveys
list<-c("https://registry.ethmigsurveydatahub.eu/surveys/2870","https://registry.ethmigsurveydatahub.eu/surveys/2872","not_a_valid_url")
emm_extract(list)
#the output file in xlsx is created in the working directory.