lorentzben / lts Goto Github PK
View Code? Open in Web Editor NEWThe goal of LTS is to package and extend functions useful for time-series datasets.
License: Other
The goal of LTS is to package and extend functions useful for time-series datasets.
License: Other
Tasklist:
The issue originated with the interval1 in the x axis, this is the updated one, but there are 2-3 calls per room so that is a couple blocks to update, a function that obfuscates this and saves a .png would be easier with the option to pass a room, filename, and dataframe/tibble in.
room_11_sb_night_plot <- ggplot(data = night_flat, aes(x = as.Date(ymd_hms(as.POSIXct.numeric(as.numeric(interval1),origin="1970-01-01"))), y=values, fill=ind)) +
geom_bar(stat="identity") +
theme_bw() +
xlab("Day of Study") +
ylab("Prop. of Time Spent in Zone") +
scale_x_date(breaks= datebreaks, minor_breaks=all_datebreak) +
theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
ggtitle("Daily Time Budget for Each Night for Room 8") +
labs(fill = "Zone") +
scale_y_continuous(limits=c(0, y_lim))
Tasklist:
Currently the package is developed under R 4.1.0, but a more recent version of R 4.3.3 exists and the package should be migrated if possible.
Dependencies seem like they will be the most difficult part to migrate.
I have pulled in one example test dataset but I have generated 3 previously. I want to bring them in to ensure code coverage.
Tasklist:
The current get_time_budget_prop expects a column "Subzone" with the value of c("bottom","middle","top") and I want to extend functionality to use any named column and any number of zones, we just need to develop the logic that calculates each zone.
In two functions (identify_duplicates, slice_tsibble) I reference columns like datetime, etc.
To fix this and make the package more useable I want to add two arguments:
identify_duplicates(record_table,datetime,value)
slice_tsibble(data,start,stop,datetime,value)
This should hopefully be a fairly straightforward refactor
Refactor get_datebreaks to be a function and to standardize the use of as.date and as.POSIXct as opposed to YMD HMS because of the: data.frame(matrix(unlist(current_day_tb), nrow=length(current_day_tb), byrow=T)) which messes up the datetime
Tasklist:
Tasklist:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.