getInfoAboutBand: Send queries to Postgres database to get relations

View source: R/functions.R

getInfoAboutBandR Documentation

Send queries to Postgres database to get relations

Description

Send queries to Postgres database to get relations between bands and musicians

Usage

getInfoAboutBand(name, dbConnection)

Arguments

name

A character which is the name of band

dbConnection

A connection to Postgres database

Details

This function sends the queries to Postgres database to get band-bands and and-musicians relations

Value

A list of two data.frame with the relations; the first data.frame consists of one column 'band' and describes the band-bands relation; the second data.frame consists of two 'name' and 'surname' columns and describe band-musicians relation;

Author(s)

Alina Tselinina tselinina@gmail.com


aqlina/musicBox documentation built on Jan. 20, 2024, 2:29 a.m.