Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrbrmstr/ipapi
An R package to geolocate IPv4/6 addresses and/or domain names using ip-api.com's API
https://github.com/hrbrmstr/ipapi
ipapi r r-cyber rstats
Last synced: 27 days ago
JSON representation
An R package to geolocate IPv4/6 addresses and/or domain names using ip-api.com's API
- Host: GitHub
- URL: https://github.com/hrbrmstr/ipapi
- Owner: hrbrmstr
- License: other
- Created: 2015-03-09T13:22:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-16T16:52:49.000Z (about 8 years ago)
- Last Synced: 2023-03-12T03:03:46.743Z (over 1 year ago)
- Topics: ipapi, r, r-cyber, rstats
- Language: HTML
- Size: 16.6 KB
- Stars: 22
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
title: "README"
author: "Bob Rudis"
date: March 09, 2015
output:
md_document:
variant: markdown_github
---[![Build Status](https://travis-ci.org/hrbrmstr/ipapi.png)](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/")
```[![ropensci_footer](http://ropensci.org/public_images/github_footer.png)](http://ropensci.org)