Coder Social home page Coder Social logo

Comments (6)

msuchard avatar msuchard commented on June 12, 2024

@ChristopheLambert can you provide the file /tmp/errorReport.txt?

from cohortmethod.

ChristopheLambert avatar ChristopheLambert commented on June 12, 2024

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.

schuemie avatar schuemie commented on June 12, 2024

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.

ChristopheLambert avatar ChristopheLambert commented on June 12, 2024

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.

msuchard avatar msuchard commented on June 12, 2024

Use

devtools::install_github("OHDSI/FeatureExtraction")

Note: no StudyProtocols

from cohortmethod.

ChristopheLambert avatar ChristopheLambert commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.