Skip to contents

Visit and event ids are 63-bit BIGINTs (above 2^53), which R doubles cannot hold exactly. With the default databaseConnectorInteger64AsNumeric = TRUE, DatabaseConnector::querySql() stops with "The data contains integers >= 2^53" (for example when PatientLevelPrediction fetches cohorts). This sets the option to FALSE so such columns come back as integer64. plp_database_details() and cm_database_details() call it for you only when the database really holds ids that large (integer64 = "auto"), because integer64 columns make the rest of the HADES stack do more work and crash some Windows setups when no id needs it.

Usage

hades_set_integer64()

Value

The previous value of the option, invisibly.