Skip to content
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

Create exportable "draft review" #33

Open
zo0o0ot opened this issue Apr 5, 2017 · 1 comment
Open

Create exportable "draft review" #33

zo0o0ot opened this issue Apr 5, 2017 · 1 comment

Comments

@zo0o0ot
Copy link
Contributor

zo0o0ot commented Apr 5, 2017

It would be nice to have a way to export drafts that have been made here. If the functionality already exists, I apologize.

If we're going from SQL data, what I'm looking for is something like this, potentially configurable:

SELECT 
p.`first_name`,
m.`manager_name`,
dc.`position`,
p.`player_round` AS DraftRound,
p.`player_pick`AS OverallPick
FROM 
`players` p
LEFT JOIN
`managers` m
ON p.`manager_id` = m.`manager_id`
LEFT JOIN 
`depth_chart_positions` dc
ON p.`depth_chart_position_id` = dc.`id`
WHERE
p.`draft_id` = (draft that was completed)

Maybe output as plain CSV text or provide the option for JSON output?

Just a thought.

@mattheworres
Copy link
Owner

Certainly possible. I've put exporting on the backburner for years just because I never thought it was a priority for anyone. Is it easier to use a CSV or spreadsheet to enter draft results?

This is something I can probably add to the next release fairly easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants