openjusticeok / ojodb

OJO's R package for opening the black box of our justice system
https://openjusticeok.github.io/ojodb/
GNU General Public License v3.0
5 stars 3 forks source link

Completed function `ojo_list_vars()` to get vars from single table #43

Closed brancengregory closed 3 years ago

brancengregory commented 3 years ago

Closes #31

rcgentzler commented 3 years ago

As with ojo_list_tables(), let's include an argument to allow querying of all schemas.

rcgentzler commented 3 years ago

Added DBI::SQL() to allow access to other schemas - just need to specify, e.g. ojo_list_vars("odoc.profile").

brancengregory commented 3 years ago

I slightly modified this so that schema is an argument to the function, defaulting to the public schema