-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME.Rmd
56 lines (37 loc) · 1.04 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: "README"
author: "Bob Rudis"
date: March 09, 2015
output:
md_document:
variant: markdown_github
---
[](https://travis-ci.org/hrbrmstr/ipapi)
ipapi is a package to geolocate IPv4/6 addresses and/or domain names using ip-api.com's API
The following functions are implemented:
- `geolocate` - lookup a vector of IPv4/6 addresses and/or domain names and return a `data.table` of results
### News
- Version `0.1` released
### Installation
```{r eval=FALSE}
devtools::install_github("hrbrmstr/ipapi")
```
```{r echo=FALSE, message=FALSE, warning=FALSE, error=FALSE}
options(width=120)
```
### Usage
```{r}
library(ipapi)
# current verison
packageVersion("ipapi")
geolocate(c(NA, "10.0.1.1", "", "72.33.67.89", "dds.ec", " ", "search.twitter.com"),
.progress=FALSE)
```
### Test Results
```{r}
library(ipapi)
library(testthat)
Sys.Date()
test_dir("tests/")
```
[](http://ropensci.org)