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_dataframe not working for 15 minute interval #15

Closed
dexterluu opened this issue Jan 26, 2023 · 0 comments · Fixed by #17
Closed

create_dataframe not working for 15 minute interval #15

dexterluu opened this issue Jan 26, 2023 · 0 comments · Fixed by #17

Comments

@dexterluu
Copy link
Contributor

Bug
When trying to use the create_dataframe function to merge the load, temperature, and additional_variables dfs together with a 15-minute interval, it errors saying additional_variable_alignment not found.

To Reproduce
Steps to reproduce the behavior:

  1. Call function 'create_dataframe' with a load, temperature, and additional_variables dataframe with the covert_to_data_interval option set to "15-min".
  2. See error: Error in align.time.xts(., n = 60 * additional_variable_alignment) :
    object 'additional_variable_alignment' not found

Expected behavior
The expected behavior is to have all 3 dataframes merged.

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]
  • R version [e.g. 4.2.1]
dexterluu referenced this issue Jan 26, 2023
This was redefining nterval to be a monthly interval which did not allow the xts_index to ever be "min"
@dexterluu dexterluu linked a pull request Feb 6, 2023 that will close this issue
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 a pull request may close this issue.

1 participant