create_AC_Product_by_Enertia_Code: Create an AC_PRODUCT table consisting of enertia codes linked...

Description Usage Arguments Value Examples

Description

The following functin will make a connection to an Aries database. It will then take the user defined 'propnum' vector which contains one or more Aries Propnum to query. The function will then return a dataframe object which contains enertia codes linked to the specified ariespropnum and the associated production data. the data frame is returned in the same format as the Aries AC_PRODUCT table. the export variable can be set equal to TRUE to export the output to the users desktop.

Usage

1
2
3
4
5
6
7
8
create_AC_Product_by_Enertia_Code(
  propnum,
  server = "extsql01",
  database = "Aries",
  user = Sys.getenv("USERNAME"),
  overwrite = "Y",
  export = FALSE
)

Arguments

propnum

a character vector.

server

a character vector.

database

a character vector.

user

a character vector.

overwrite

a character vector.

export

a boolean value

Value

A dataframe containing production data formated for the AC_PRODUCT table in Aries

Examples

1
create_AC_Product_by_Enertia_Code(enertia_codes = c("0WHEZJ4SQ4ZJ", "YXK78QADR9BZ"), user = "user01", overwrite = "N", export = TRUE)

Hilcorp-Reserves/Reserves.Util documentation built on March 25, 2020, 5:43 p.m.