Skip to contents

Extract a list of lat, long, ten minute square, etc from the NEFSC "loc" supporting table

Usage

get_locations(channel)

Arguments

channel

an Object inherited from ROracle::Oracle. This object is used to connect to communicate with the database engine. (see dbutils::connect_to_database)

Value

A list is returned:

data

containing the result of the executed sqlStatement

sql

containing the sqlStatement itself

colNames

a vector of the table's column names

Reference

Use the data dictionary for field name explanations

See also

connect_to_database

Other get functions: get_areas(), get_gears(), get_ports(), get_species(), get_species_itis(), get_species_stock_area(), get_vessels()

Examples

if (FALSE) { # \dontrun{
# extracts complete locations table based on default sql statement
channel <- connect_to_database(server="name_of_server",uid="individuals_username")
get_locations(channel)
} # }