User:Jouni/Timetracker: Difference between revisions
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", " | 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)) | ||
opbase.upload(dsn = "opasnet_base_write", input = data, ident = "Op_en5387", acttype = 5, who = wiki_username, unit = "time") | |||
cat("Thanks for your input") | |||
opbase.upload(dsn = "opasnet_base_write", input = data, ident = " | |||
</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
Moderator:Jouni (see all) |
This page is a stub. You may improve it into a full page. |
Upload data
|
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>