knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

kgsr

Project Status: WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. lifecycle Linux Build Status Windows Build status CRAN RStudio mirror downloads Coverage status

Disclaimer

This software is in no way affiliated, endorsed, or approved by the Kansas Geological Survey - The University of Kansas. It comes with absolutely no warranty.

Overview

kgsr is an R "interface" to KGS. It can download data from Kansas Geological Survey - The University of Kansas.

Installation

You can install kgsr from github with:

# install.packages("devtools")
devtools::install_github("emraher/kgsr")

Data on KGS

Usage

Download data from Kansas Master Ground-Water Well Inventory

There are two functions in the package which retrieve data from Kansas Master Ground-Water Well Inventory.

library(kgsr)
dt <- mwi("allen")
dt

# -----------------------------------------------------------------------------
# Ignoring unmatched file
# -----------------------------------------------------------------------------
dt <- mwi("Cowley")
dt

# -----------------------------------------------------------------------------
# Wrong county name
# -----------------------------------------------------------------------------
dt <- mwi("alen")

# -----------------------------------------------------------------------------
# Download with given township, range, range direction, and section (optional).
# -----------------------------------------------------------------------------
dt <- mwi_plss(township = "1", range = "1", range_dir = "W", section = "1", unmatched = TRUE)
dt

Download data from Master List of Oil and Gas Wells in Kansas

library(kgsr)
dt <- ogw(township = "1", range = "1")
dt

dt <- ogw(county = "allen", welltype = "OIL")
dt

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.



emraher/kgsr documentation built on May 13, 2019, 8:38 a.m.