https://github.com/sckott/usgs
R interface to USGS APIs
https://github.com/sckott/usgs
Last synced: 12 months ago
JSON representation
R interface to USGS APIs
- Host: GitHub
- URL: https://github.com/sckott/usgs
- Owner: sckott
- Created: 2013-02-07T17:07:57.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-12T01:01:54.000Z (over 13 years ago)
- Last Synced: 2025-07-24T19:24:37.823Z (about 1 year ago)
- Language: R
- Size: 320 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# usgs
### Install `usgs`
+ Development version from GitHub:
```R
install.packages("devtools")
require(devtools)
install_github("usgs", "ropensci")
require(usgs)
```
### Display a map in R
```R
> vcp_map(bbox="-1.1555796946844999E7,5220831.371255575,-1.1541665204054998E7,5230496.950050622", park="Agate_Fossil_Beds_NM", plot=TRUE)
```

### Download the map to a file
```R
> vcp_map(bbox="-1.1555796946844999E7,5220831.371255575,-1.1541665204054998E7,5230496.950050622", park="Agate_Fossil_Beds_NM")
File downloaded at ~/image.png
```