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

Fix #9 and add time range support for extractions #14

Merged
merged 2 commits into from
Oct 27, 2019

Conversation

Leviosar
Copy link
Member

Fix #9 by creating CSV files using panda's dataframe.to_csv. The files will be created in runtime at paratex/output and ignored by git. For now it creates a separated file for each session, in future we should add support for creating a big CSV file with all the attendances extraced.

For time range, the function expects two Date objects, start and end. If start and end are ommited last month's data will be used. If just end is ommited the end time will be the current date. If start is bigger than end a exception is raised.

…ommited fetch the last month sessions. Plot data from pandas to CSV file.
@GabrielSimonetto
Copy link
Member

LGTM

@GabrielSimonetto GabrielSimonetto merged commit b4c79cf into caravelahc:master Oct 27, 2019
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.

Salvar estatísticas extraídas
2 participants