Open EJV20 opened 4 weeks ago
Create a new branch with your username and issue number (git checkout -b ejv20-2) and implement a WeatherToExcelReactor that generates an Excel spreadsheet containing daily weather data for a fictional location over a specified duration. Additionally, save this data in the security database in new table(s) and push the changes to a remote repository.
The user must provide the following information in the Reactor call - "Name of the fictional place", "Name of the real place", "the duration, which can be days months or years" (10 days or 10 months or 10 years etc), "the starting date".
Filename: Format as "location - duration.xlsx". Examples: "Jeffland - 10 years.xlsx", "Roseville - 5 months.xlsx". Data Columns: Date, High, Low, etc. Daily data example: 01-02-2022, 60, 50, etc. Summary statistics at the bottom: Mean: mean, mean, etc. Median: median, median, etc Mode: Mode, Mode, etc Standard Deviation: stddev, stddev, etc.
Save the generated weather data in new table(s) within the security database. This can be accessed by going to settings and running a query in admin mode in Semoss, within the security DB.
Refer to AbstractSecurityUtils.init() for information about the database structure. Update SecurityOwlCreator as relevant. Look around the file system for examples.
Reactors: LLMReactor ToExcelReactor Database Initialization: AbstractSecurityUtils.init() Security Integration: SecurityOwlCreator
To push from your local Semoss repo, to the remote Semoss_new_hire repo you can do the following:
git remote add newHire https://github.com/SEMOSS/Semoss_new_hire
git push newHire
Task
Create a new branch with your username but do not push the branch. Implement a WeatherToExcelReactor that generates an Excel spreadsheet containing daily weather data for a fictional location over a specified duration. Additionally, save this data in the security database in new table(s). The user must provide the following information in the Reactor call - "Name of the fictional place", "Name of the real place", "the duration, which can be days months or years" (10 days or 10 months or 10 years etc), "the starting date". Create another reactor that returns all the data for a made up place.
Excel Spreadsheet Format:
Filename: Format as "location - duration.xlsx". Examples: "Jeffland - 10 years.xlsx", "Roseville - 5 months.xlsx". Data Columns: Date, High, Low, etc. Daily data example: 01-02-2022, 60, 50, etc. Summary statistics at the bottom: Mean: mean, mean, etc. Median: median, median, etc Mode: Mode, Mode, etc Standard Deviation: stddev, stddev, etc.
Database Integration:
Save the generated weather data in new table(s) within the security database. This can be accessed by going to settings and running a query in admin mode in Semoss, within the security DB.
Refer to AbstractSecurityUtils.init() for information about the database structure. Update SecurityOwlCreator as relevant. Look around the file system for examples.
Existing Codebase References:
Reactors: LLMReactor ToExcelReactor Database Initialization: AbstractSecurityUtils.init() Security Integration: SecurityOwlCreator