dumbcode/explore_bug65.R

#!/usr/bin/Rscript
# -*- coding: utf-8 -*-

################################ Description ###################################
# Title: Explore bug #65
# Purpose: Try to find why date format don't work properly
# Created the 2015-01-19 
# by Joris Muller <joris.muller@jom.link>
# Licence: GPLv3 <http://www.gnu.org/licenses/>
################################################################################

library(vartors)

# Test to import a vardef file
library(dplyr)

data(sample_descvar, package = "vartors")

sample_descvar %>%
    filter(rname == "consult") %>%
    select(rname, description, unit) 
    
# This sample data have not the default date format from
# the vartors package (%d/%m/%Y)

vardef1 <- import_vardef(sample_descvar)

vardef1

create_script(vardef1)

# Date format is not well imported, then the bud is here.
jomuller/vartors documentation built on May 19, 2019, 7:26 p.m.