-
Notifications
You must be signed in to change notification settings - Fork 2
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
pivot_wider making a list of ages #103
Comments
May be that str(age1) indicates something other than a number was entered. Would make sense if new ages were added with an odd field |
Is it worth trying to pull fewer years and see when this error occurs?
See if it is it in the most recent year or does it not matter what year is
pulled?
…On Thu, Mar 23, 2023 at 3:53 PM Brian Langseth ***@***.***> wrote:
May be that str(age1) indicates something other than a number was entered.
Would make sense if new ages were added with an odd field
—
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6IZLTBQOBNDQH7YMZ2BN3W5TH63ANCNFSM6AAAAAAWF2LA2A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
*Jason M. Cope, Ph.D.Research Fishery Biologist*
*Fishery Resource Analysis and Monitoring Division*
*Northwest Fisheries Science Center*
*2725 Montlake Blvd. East*
*Seattle, WA 98112-2013*
*NOAA Fisheries*
*Affiliate assistant faculty*
*School of Aquatic and Fishery Sciences*
*University of Washington*
***@***.*** ***@***.***>
(206) 302-2417
www.nmfs.noaa.gov
|
@chantelwetzel-noaa I have had this happen before I just cannot remember why. Hopefully I will remember why this happened. I think it goes back to not having unique identifiers when trying to combine the data. I am pretty sure it is happening here PacFIN.Utilities/R/PullBDS.PacFIN.R Lines 186 to 199 in 689f7db
|
@kellijohnson-NOAA Funny cause I remember encountering too but don't recall when or why. That is exactly where it is happening and there is a warning in the stage above about a long list of non-unique ids. Just lovely. |
Oh the long list on non-unique ids is a problem that is happening in the new data from California. They have duplicate entries and they are trying to figure out why. Brenda knows. That is why I wasn't able to give @iantaylor-NOAA the data that he wanted for the data workshop. I will ping Brenda again and tell her that it is still not fixed. |
It also looks like PacFIN may be down this morning... |
Describe the bug
When trying to pull the biological data for black and canary rockfishes (separately), both pulls encountered the issue of the the age1 (age2,...) being converted into lists by dplyr::pivot_wider. I am not entirely sure what has changed in the pulled data file that is causing this issue. I plan on looking at this more tomorrow but I wanted to post it here just in case.
The text was updated successfully, but these errors were encountered: