Skip to content

ageproR functionality with AGEPRO calculation engine  #19

@efletcherPIFSC

Description

@efletcherPIFSC

One essential feature for version 1.0 is the integration, or the input and output, with the AGEPRO calcuation engine.

There are two methods to implment this feature

  • System scripts to call the Agepro Calcuation Binary (simlar to the r4ss method wth stock synthesis)
  • Impelement a rcpp module to handle Agepro Calcuation C (Cpp) routines (Long-Term goal, ensure that Agepro Calcuation Engine code is indpenedent from this package.)

To simplify and complete this feature impelmentation sooner, ageproR will link to the standalone AGEPRO calculation engine executable binary via system R script. The user will need to download the AGEPRO claculation engine themselves.

Important

Communicate w/ maintainers of AGEPRO Calculation Engine (Jon Brodziak) to Have Binaries releases available on the AGEPRO github repo

The following values are a list that ageproR needs to know when sending a system call to the AGEPRO calculation engine:

  • Path of the AGEPRO calculation engine executable
  • AGEPRO input file (*.inp)
  • Bootstrap File (*.BSN)
  • System AGEPRO program parameters to call

Notes

  • If AGEPRO is platform-agnostic, use system2
  • Use working directory for AGEPRO output (Replace output destination from tempdir to working directory #11)
  • Communicate w/ PIFSC members that implemented AGEPRO calculation engine from R.
    • Was it scripted for a single run or a batch (multi) run?
  • Handle upcoming changes to AGEPRO input model to include a gender specific age projections.
  • Procedures for handling AGEPRO Output. (This could be a another issue)
    • How will this be different from AGEPRO-GUI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requestedtopic: AGEPRO calc engineBatch Execution, Configuration, and issues running Jon Brodziak's AGEPRO program from ageproj

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions