#!/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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.