Skip to content

timevis(mydata) give only minimal timeline as if I had called timevis() #103

@TMax66

Description

@TMax66

Hi,
i'm try to get a timeline using timevis, but although data was provided i get only the minimal timeline,
the one obtained by calling the function without arguments

data come from an excel sheet imported by read_excel with date in POSIXct that I converted as character.

> str(mytime)
'data.frame':	15 obs. of  5 variables:
 $ id     : int  1 2 3 4 5 6 7 8 9 9 ...
 $ content: chr  "Presentazione proposta" "Approvazione proposta da parte del CS IZSLER" "Approvazione Ministero e Inizio Progetto" "Inizio attività borsa di studio U.O.1" ...
 $ start  : chr  "2016-09-16" "2016-10-14" "2017-12-15" "2018-02-01" ...
 $ end    : chr  NA NA NA "2019-02-01" ...
 $ type   : chr  "point" "point" "point" "range" ...
> 

I ve no problem using timevisData provided with the package.
Any suggestion?

> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=Italian_Italy.1252  LC_CTYPE=Italian_Italy.1252    LC_MONETARY=Italian_Italy.1252 LC_NUMERIC=C                  
[5] LC_TIME=Italian_Italy.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] janitor_2.0.1     rpivotTable_0.3.0 DT_0.15           shiny_1.5.0       readxl_1.3.1      here_0.1          timevis_1.0.0    
 [8] lubridate_1.7.9   forcats_0.5.0     stringr_1.4.0     dplyr_1.0.2       purrr_0.3.4       readr_1.4.0       tidyr_1.1.2      
[15] tibble_3.0.4      ggplot2_3.3.2     tidyverse_1.3.0  

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.5        utf8_1.1.4        assertthat_0.2.1  rprojroot_1.3-2   digest_0.6.25     mime_0.9          R6_2.4.1         
 [8] cellranger_1.1.0  backports_1.1.10  reprex_0.3.0      evaluate_0.14     httr_1.4.2        pillar_1.4.6      rlang_0.4.8      
[15] rstudioapi_0.11   blob_1.2.1        rmarkdown_2.4     htmlwidgets_1.5.2 munsell_0.5.0     broom_0.7.1       compiler_4.0.2   
[22] httpuv_1.5.4      modelr_0.1.8      xfun_0.18         pkgconfig_2.0.3   htmltools_0.5.0   tidyselect_1.1.0  fansi_0.4.1      
[29] crayon_1.3.4      dbplyr_1.4.4      withr_2.3.0       later_1.1.0.1     grid_4.0.2        jsonlite_1.7.1    xtable_1.8-4     
[36] gtable_0.3.0      lifecycle_0.2.0   DBI_1.1.0         magrittr_1.5      scales_1.1.1      cli_2.1.0         stringi_1.5.3    
[43] fs_1.5.0          promises_1.1.1    snakecase_0.11.0  xml2_1.3.2        ellipsis_0.3.1    generics_0.0.2    vctrs_0.3.4      
[50] tools_4.0.2       glue_1.4.2        hms_0.5.3         rsconnect_0.8.16  fastmap_1.0.1     yaml_2.2.1        colorspace_1.4-1 
[57] rvest_0.3.6       knitr_1.30        haven_2.3.1      
> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions