Description Usage Arguments Value Examples
View source: R/Reserves_Util.R
The following functin will make a connection to the Enertia database located on the Enertia01B Server. It will then take the user defined 'enertia_codes' vector which contains one or more enertia_codes to query. The function will then return a dataframe object which contains aries cases linked to the specified enertia codes 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.
1 2 3 4 5 6 7 8 | create_AC_Product_by_Link(
enertia_codes,
server = "extsql01",
database = "Aries",
user = Sys.getenv("USERNAME"),
overwrite = "Y",
export = FALSE
)
|
enertia_codes |
a character vector. |
server |
a character vector. |
database |
a character vector. |
user |
a character vector. |
overwrite |
a character vector. |
export |
a boolean value |
A dataframe containing production data formated for the AC_PRODUCT table in Aries
1 | create_AC_Product_by_Link(enertia_codes = c("49.1018.0010.00", "49.1018.0210.00"), user = "user01", overwrite = "N", export = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.