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

Issue querying POWER API for all parameters in a community + temporal API #85

Closed
emmalink1 opened this issue May 17, 2024 · 1 comment
Closed

Comments

@emmalink1
Copy link

I am attempting to use the query_parameters function to learn about the parameters available within communities/temporal_apis. Currently, an error is produced when following the example code provided in the function documentation to fetch attribute information for all parameters:

nasapower::query_parameters(community = "ag", temporal_api = "hourly")
Error in nasapower::query_parameters(community = "ag", temporal_api = "hourly") :
argument "pars" is missing, with no default

I'm using:

  • OS: Windows 11
  • same behavior in R Versions 4.3.2 and 4.4.0
adamhsparks added a commit that referenced this issue May 18, 2024
@adamhsparks
Copy link
Member

Thanks for catching and reporting this! I'll push to CRAN shortly but you can install the version from GitHub if you would like to have access before it's on CRAN.

install.packages("nasapower", repos = "https://ropensci.r-universe.dev")

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

No branches or pull requests

2 participants