I'm trying to merge two datasets using the email addresses.
There are a number of observations in the email varlist which are not email addresses (they are redundant bits of text from the export of data from the survey platform).
So I would like to run a command which drops any observation from the email varlist if it does not contain the '@' mark anyway in that observation.
I've been unable to find anything telling me how to drop an observation if it includes a specific character within a longer string (as opposed to equals/is greater than etc.)
Many thanks,
Harry
Related Posts with How to drop observations missing an '@' mark
IRHi all, I am new to stata, and have quite large data set I'm working on, I'd be grateful for some a…
Panel data: difference between two annual observationsHi! I have a panel dataset of companies, with observations for Sales for each year. I would like to …
Extract values of TN, FP, TP and FN stataDear Stata exper, Wonder how to extract values of TN, FP, TP and FN into seperate variables in stata…
Probit model explanationI have a dataset that contains information on applications to any job vacancy in an organization. I …
WHO Anthro Macro files error message in calculating anthropometric z scoresDear All, I tried using WHO Anthro files (from https://www.who.int/childgrowth/software/en/) with S…
Subscribe to:
Post Comments (Atom)
0 Response to How to drop observations missing an '@' mark
Post a Comment