Skip to content

Conversation

@navarroc
Copy link
Contributor

I took a quick pass at creating an endpoint to return FSA and RMA yield data based on the data Gary provided. I'm looking for feedback on this, especially the URL pattern. We may want to consider mounting this data into the image instead of pushing it it git since it's so big.

You can test this by running the service locally and calling:

http://localhost:5000/pdl/yields?program=FSA&crop=corn
or
http://localhost:5000/pdl/yields?program=RMA&crop=corn

@navarroc navarroc linked an issue Sep 18, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add API endpoint to return yield data by crop and program

2 participants