Comments (6)
@ChristopheLambert can you provide the file /tmp/errorReport.txt
?
from cohortmethod.
Here you go:
DBMS:
postgresql
Error:
execute JDBC update query failed in dbSendUpdate (ERROR: relation "cov_m_below" does not exist
Position: 829)
SQL:
CREATE TEMP TABLE cov_all
AS
SELECT
row_id, covariate_id, covariate_value
FROM
(
SELECT row_id, covariate_id, covariate_value FROM dummy
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_gender
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_race
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_ethnicity
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_year
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_co_365d
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_cg
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dera_365d
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_po_365d
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_m_below
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_m_above
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_m_365d
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_m_count365d
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dd_cond
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dd_drug
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dd_proc
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dd_obs
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dd_visit_all
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dd_visit_inpt
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dd_visit_er
UNION
SELECT row_id, covariate_id, covariate_value
FROM cov_dd_meas
) all_covariates
R version:
R version 3.2.3 (2015-12-10)
Platform:
x86_64-redhat-linux-gnu
Attached base packages:
- stats
- graphics
- grDevices
- utils
- datasets
- methods
- base
Other attached packages:
- CohortMethod (2.0.6)
- FeatureExtraction (1.0.1)
- Cyclops (1.2.2)
- DatabaseConnector (1.3.0)
- RJDBC (0.2-5)
- rJava (0.9-8)
- DBI (0.3.1)
- SqlRender (1.1.7)
from cohortmethod.
Hi @ChristopheLambert ,
I'm sorry about that! It seems I made a typo in the code for constructing covariates. Could you try again using the latest version of the FeatureExtraction package. Close all instances of R, open only one, and type this code to get the latest version:
install.packages("devtools")
devtools::install_github("ohdsi/StudyProtocols/FeatureExtraction")
Let me know if this resolves this problem.
Cheers,
Martijn
from cohortmethod.
I get this error:
> devtools::install_github("ohdsi/StudyProtocols/FeatureExtraction")
Downloading GitHub repo ohdsi/StudyProtocols@master
from URL https://api.github.com/repos/ohdsi/StudyProtocols/zipball/master
Error: Does not appear to be an R package (no DESCRIPTION)
from cohortmethod.
Use
devtools::install_github("OHDSI/FeatureExtraction")
Note: no StudyProtocols
from cohortmethod.
I was able to run through a study successfully now with the new version of CohortMethod.
Thanks for the quick response!
from cohortmethod.
Related Issues (20)
- Refactor createStudyPopulation HOT 3
- Add calibrated and uncalibrated oneSidedP to export
- Implement representativeness diagnostic
- Unexpected columns are created using matchOnPsAndCovariates - solution removing hardcoded concepts in mergeCovariatesWithPs HOT 1
- Better implement behavior in fitOutcomeModel() when combining useCovariates with interaction terms HOT 5
- MetaData class proposal HOT 5
- question on equipoise calculation HOT 3
- Error unused argument (outcomeIds = outcomeIds) HOT 2
- `runCmAnalyses(refitPsForEveryOutcome = TRUE)` Error in gzfile(file, "rb"): cannot open the connection HOT 4
- Automatically compute covariate balance in subgroups when specifying interaction terms
- If high correlations are discovered but stopOnError = FALSE, record problem in output data somehow
- Add `unblindForEvidenceSynthesis` column to diagnostics summary table
- Add diagnostics for negative controls
- Feature request: exclude highly correlated covariates from propensity score calculation HOT 3
- "missing value where TRUE/FALSE needed" when fitting outcome models for other outcomes HOT 3
- CohortMethodData is read from env cache even when the covarieSettings have changed within the same R session HOT 3
- Using computeSharedCovariateBalanceArgs causes some non-informative warning messages in the log HOT 1
- Function `drug()` in the demo, does not exist HOT 1
- Add vignette showing results data model
- Error in cohort method in export results from inside strategus HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cohortmethod.