Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Joss Roßmann, Tobias Gummer, Lars Kaczmirek
Title: Working with User Agent Strings in Stata: The parseuas Command
Abstract: With the rising popularity of web surveys and the increasing use of paradata by survey methodologists, assessing information stored in user agent strings becomes inevitable. These data contain meaningful information about the browser, operating system, and device that a survey respondent uses. This article provides an overview of user agent strings, their specific structure and history, how they can be obtained when conducting a web survey, as well as what kind of information can be extracted from the strings. Further, the user written command parseuas is introduced as an efficient means to gather detailed information from user agent strings. The application of parseuas is illustrated by an example that draws on a pooled data set consisting of 29 web surveys.

Page views:: 956. Submitted: 2016-01-08. Published: 2020-02-18.
Paper: Working with User Agent Strings in Stata: The parseuas Command     Download PDF (Downloads: 181)
Supplements: Stata source code Download (Downloads: 14; 4KB) Stata replication code Download (Downloads: 16; 2KB)
pooled_useragent.dta: Supplementary data (Stata binary format) Download (Downloads: 12; 1MB)

DOI: 10.18637/jss.v092.c01

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.