Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

rIP detects likely responses from server farms on MTurk surveys.

Takes as its input an array of IPs and the user's X-Key, passes these to iphub.info, and returns a dataframe with the ip (used for merging), country code, country name, asn, isp, block, and hostname.

Especially important in this is the variable "block", which gives a score indicating whether the IP address is likely from a server farm and should be excluded from the data. It is codes 0 if the IP is residential/unclassified (i.e. safe IP), 1 if the IP is non-residential IP (hostping provider, proxy, etc. - should likely be excluded), and 2 for non-residential and residential IPs (more stringent, may flag innocent respondents).

The recommendation from iphub.info is to block or exclude those who score block = 1.

rIP requires an API key from https://iphub.info/api. Users can register for a free key that allows for up to 1,000 IP inquiries per day.

We thank @tylerburleigh for pointing out the utility of iphub.info. His method for incorporating this information into Qualtrics surveys can be found here.

Copy Link

Version

Install

install.packages('rIP')

Monthly Downloads

53

Version

0.1.1

License

MIT + file LICENSE

Maintainer

Ryan Kennedy

Last Published

October 16th, 2018

Functions in rIP (0.1.1)

getIPinfo

Passes an array of IP addresses to iphub.info and returns a dataframe with details of IP