OHDSI / FeatureExtraction

An R package for generating features (covariates) for a cohort using data in the Common Data Model.
http://ohdsi.github.io/FeatureExtraction/
61 stars 60 forks source link

Colnames is returned at NULL in isTemporalCovariateData #99

Closed gowthamrao closed 4 years ago

gowthamrao commented 4 years ago

(x$covariates$timeId) is not a tbl dataframe i.e. colnames will return NULL

codecov[bot] commented 4 years ago

Codecov Report

Merging #99 into develop will decrease coverage by 15.43%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #99       +/-   ##
===========================================
- Coverage    24.09%   8.65%   -15.44%     
===========================================
  Files           13      13               
  Lines         1017    1017               
===========================================
- Hits           245      88      -157     
- Misses         772     929      +157     
Impacted Files Coverage Δ
R/CovariateData.R 9.45% <100.00%> (ø)
R/DefaultCovariateSettings.R 0.00% <0.00%> (-100.00%) :arrow_down:
R/DefaultTemporalCovariateSettings.R 0.00% <0.00%> (-100.00%) :arrow_down:
R/GetDefaultCovariates.R 0.00% <0.00%> (-74.39%) :arrow_down:
R/GetCovariates.R 0.00% <0.00%> (-60.00%) :arrow_down:
R/FeatureExtraction.R 0.00% <0.00%> (-20.00%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0270bd9...b94bfa4. Read the comment docs.