-
Notifications
You must be signed in to change notification settings - Fork 1
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
fishbc
data not up to date
#75
Comments
Put a bunch of time into the issue and I've got it all working except for one step.
Then
but it still returns the old csv. I've tried restarting R and Rstudio, same issue. I've also tried running it in a different repo and still the same issue. There's a good chance I may be just doing something wrong so any ideas are welcome! |
Thought I found my issue but now not so much When using But, Is there a way to call Now the next question: how do we use the updated data in other projects? Options:
I'm going to go with option 2 for now because I know how to do that! |
another way to do it is to push branch to github and load with pak similiar to what we do with
|
Build problem fixed by using "Build / Install / Clean and Install" in the Rstudio IDE, thanks! I realized the updated data was missing the dates in the COSEWIC and SARA columns so I went to go fix that and realzed that the Summary Data download form the cdc has all the info we need in one place to update cdc.csv (instead of having to join other downloaded results together) which is awesome but also needed a bit of work. Everything is good to go now (finallyyy). I would be happy to make a PR to fishbc with my branch but maybe we could review what I've done so that it's in the best format for them. I'm not sure if they will want an Rmd file but I did my best to explain the whole updating process so that it will be quick in the future but not sure if thats what they will want... we can deal will this later once we have more time. For now I will just update the fish species tables in the reports. Link to fishbc issue poissonconsulting/fishbc#13 |
…23_reporting#75. Renamed folder to match other repos
Issue:
While building the
fiss_species_table.csv
inextract-fiss-species-table.R
I noticed that the results fromfishbc::cdc
are not up to date with https://species-registry.canada.ca/index-en.html#/species?ranges=British%20Columbia&sortBy=commonNameSort&sortDirection=asc&pageSize=10&keywords=sockeye.Example:
For example the
Sockeye Salmon - Francois-Fraser-S Population
is listed as a "Special concern" with COSEWIC but that does not show in the results formfishbc::cdc
.Looks like
fishbc
pulls from BC Conservation Data Centre (CDC) and which is also up to date withSockeye Salmon - Francois-Fraser-S Population
listed as a "Special concern" .This is also true for the following populations in this projects scope (use the Nechako river):
What I found:
Looks like the the
cdc.csv
provides the data (code here) has not been updated for 4 years... https://github.com/poissonconsulting/fishbc/blob/main/data-raw/cdc/cdc.csvI could be totally wrong but it seems odd that this csv hasn't been updated in 4 years...
The text was updated successfully, but these errors were encountered: