grinnellm / SpawnIndex

:fish: :egg: Calculate the Pacific Herring spawn index
MIT License
0 stars 2 forks source link

Use a platform-independent database #19

Open grinnellm opened 3 years ago

grinnellm commented 3 years ago

Travis is a Linux system, and the option os: windows gets an error when using R (see #12). One approach is to separate out the data extraction part from the code, and create res files to include in the package data. Either extract into RDS, or convert the database to MySQL format or another that is platform independent. Also, it may be worth the effort to extract the data using gfdata repository. I could add functions to that repo to extract herring data, and use the tidy functions to tidy the data into RDS files. Then the data will be compatible with all the gfplot functions as well. This would also apply to the DataSummaries repo.

grinnellm commented 5 months ago

Related to #55