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

Sensitiviy Analyses (Project) #38

Open
2 of 3 tasks
Ty-WDFW opened this issue Oct 31, 2024 · 0 comments · May be fixed by #43 or #42
Open
2 of 3 tasks

Sensitiviy Analyses (Project) #38

Ty-WDFW opened this issue Oct 31, 2024 · 0 comments · May be fixed by #43 or #42
Assignees
Labels
enhancement New feature or request

Comments

@Ty-WDFW
Copy link
Contributor

Ty-WDFW commented Oct 31, 2024

Just putting this here as a note to myself. Last year I ran into an issue of copying runs outside of FRAM using the odbc and RODBC packages. This was due to the odbc package defaulting to batch the rows to be inserted or appended which isn't supported by MS Access.

r-dbi/odbc@ed2bf38#diff-8758296606bc29a0108076ef31b8a542d52d098b923b8007f94e28bbf7c2baaaR57 allows the number of rows being batched to be explicitly defined. Setting batch_rows to 1 on dbWriteTable() or dbAppendTable() will work against MS Access databases.

A copy_run() function will potentially allow a run to be copied to the 2GB maximum size limit of the MS Access database, numbering in the 100's or 1000's of copies. Combined with mutating SQL statements (possibly wrapped in R functions?) this should make producing FRAM sensitivity analyses far more approachable with far less work.

@Ty-WDFW Ty-WDFW added the enhancement New feature or request label Oct 31, 2024
@Ty-WDFW Ty-WDFW self-assigned this Oct 31, 2024
@Ty-WDFW Ty-WDFW linked a pull request Nov 4, 2024 that will close this issue
@Ty-WDFW Ty-WDFW changed the title Function to copy runs Sensitiviy Analyses (Project) Nov 4, 2024
@Ty-WDFW Ty-WDFW linked a pull request Nov 4, 2024 that will close this issue
This was linked to pull requests Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant