Metropolitan-Council / councilR

A curated collection of commonly used templates, color palettes, functions, and more!
Other
6 stars 1 forks source link

Functions returning database connection, not table #67

Closed eroten closed 9 months ago

eroten commented 9 months ago

For implementation in other packages, it is useful to have a function that returns the database connection, not a table from the given database.

This will take the section of each database function that tests and creates a connection object and put that into its own function, which will later be called in import_from_x() to create the connection, before pulling the table.