-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
list all data tables available in the warehouse #59
Comments
@kellijohnson-NOAA +1 to add this functionality to the Data Warehouse. Where did you want this list returned? For those who are not familiar, a Metadata page exists, but it is not comprehensive. For example, most of the Warehouse dimension tables are not listed and some of those include useful information to help users build API calls (e.g., taxonomy_dim). |
Seems like the best option would be to make the Metadata page more comprehensive. Is this an option, then we could figure out some way to list of all the entries programmatically? I am hesitant to save a static list within this package because of the high likelihood of it becoming outdated. |
I'll ask Mak to explore how the Metadata page is generated. I believe the fields and definitions are scraped directly from the Postgres database objects, but I suspect the general page format is hard-coded. |
I just checked the Warehouse code for the Metadata page, and appears set to only show fact tables. This is likely by design as many of the other tables (e.g., dimension) are not relevant to the user. One exception is the taxonomy_dim table, but there are likely others (e.g., port_dim). Perhaps we could have a chat with Data Team and STAT members on which additional tables we'd like to expose? |
Perhaps @Curt-Whitmire-NOAA it would be best to just have a short conversation between the two of us first because my mind immediately goes to ... why not just expose them all? |
Agreed to expose the species taxonomy list as a first step. |
@kellijohnson-NOAA , I posted a related issue to the Warehouse repo. |
@Curt-Whitmire-NOAA just an FYI to compare the list of source objects returned by the API and the dw schema. |
Is there a list of data tables that are available in the warehouse and how are other groups accessing these tables? This information, I think, is key to building a base function that other functions such as PullCatch.fn can use.
The text was updated successfully, but these errors were encountered: