User:Jouni/Timetracker: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(first draft based on own thinking)
 
(code corrected)
Line 8: Line 8:
library(OpasnetBaseUtils)
library(OpasnetBaseUtils)
library(xtable)
library(xtable)
Obs <- 1#max(op_baseGetData("opasnet_base", "Op_enXXXX")[, "obs"])+1
Obs <- 1#max(op_baseGetData("opasnet_base", "Op_en5387")[, "obs"])+1
if(is.null(continuous)){continuous <- 0}
data <- data.frame(obs = rep(Obs, 4), Parameter = c("Project", "Start", "End", "Continuous"), Result = c(project, start, end, continuous))
data <- data.frame(obs = rep(Obs, 4), Parameter = c("Project", "Start", "End", "Continuous"), Result = c(project, start, end, continuous))
#print(xtable(data), type='html')
opbase.upload(dsn = "opasnet_base_write", input = data, ident = "Op_en5387", acttype = 5, who = wiki_username, unit = "time")
data
cat("Thanks for your input")
opbase.upload(dsn = "opasnet_base_write", input = data, ident = "Op_fiXXXX", acttype = 4, who = wiki_username, unit = "time")
</rcode>
</rcode>


Line 30: Line 30:


* [[:op_fi:Joensuun keskustan liikennemalli J1]]
* [[:op_fi:Joensuun keskustan liikennemalli J1]]
* [[:op_fi:Aikakone]]


==Keywords==
==Keywords==

Revision as of 05:55, 6 October 2011


What project are you working on?:

When did you start the work?:
..-::

When did you stop the work?:
..-::

:
I did not stop, I am continuing the work

+ Show code

Question

How does Jouni spend his time?

Answer

{{#opasnet_base_link:Op_en5387}}


Rationale

The time tracker should follow the Opasnet pages that are edited during the work. The default is that those pages are linked to the ongoing project. If they are edited afterwards, that time is automatically assigned to that project. This default can be overruled by making a data table that contains a list of pages and the project they relate to.

See also

Keywords

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>

Jouni/Timetracker. Opasnet . [1]. Accessed 25 Nov 2024.