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

get_table() should output a single version/year #85

Open
ernestguevarra opened this issue Apr 11, 2024 · 0 comments
Open

get_table() should output a single version/year #85

ernestguevarra opened this issue Apr 11, 2024 · 0 comments
Assignees
Labels

Comments

@ernestguevarra
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, get_tables() may output more than one lookup table for a country as there is no way to specify which PPI table version/year to output

Describe the solution you'd like
add a year argument to get_table() which will by default be set to NULL. If NULL, output will be the latest PPI table version. If specified, check if that year is available and then return that year if it is. If not, return NULL and give a warning.

Describe alternatives you've considered
Status quo will just need to be filtered by user to the version they need.

Additional context
NA

@ernestguevarra ernestguevarra added this to the 3. CRAN release milestone Apr 11, 2024
@ernestguevarra ernestguevarra self-assigned this Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant