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

inconsistency in formatOccData #254

Open
FrancescaMancini opened this issue Aug 2, 2023 · 0 comments
Open

inconsistency in formatOccData #254

FrancescaMancini opened this issue Aug 2, 2023 · 0 comments

Comments

@FrancescaMancini
Copy link
Contributor

When only survey is specified in formatOccData, the function returns occDetdata$TP as athe actual year value (e.g. 1970). When both survey and closure_period are specified occDetdata$TP is returned as an integer from 1 to the number of years (e.g. 42). This causes issues with wrappeR. We either need to update the documentation so that this is clear or edit formatOccData so that it always returns the actual year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants