Initial Commit

This commit is contained in:
eneller
2025-12-28 21:52:07 +01:00
commit 5297673439
8 changed files with 1527 additions and 0 deletions

1
.Rprofile Normal file
View File

@@ -0,0 +1 @@
source("renv/activate.R")

63
.gitignore vendored Normal file
View File

@@ -0,0 +1,63 @@
# Created by https://www.toptal.com/developers/gitignore/api/R
# Edit at https://www.toptal.com/developers/gitignore?templates=R
### R ###
# History files
.Rhistory
.Rapp.history
# Session Data files
.RData
.RDataTmp
# User-specific files
.Ruserdata
# Example code in package build process
*-Ex.R
# Output files from R CMD build
/*.tar.gz
# Output files from R CMD check
/*.Rcheck/
# RStudio files
.Rproj.user/
# produced vignettes
vignettes/*.html
vignettes/*.pdf
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth
# knitr and R markdown default cache directories
*_cache/
/cache/
# Temporary files created by R markdown
*.utf8.md
*.knit.md
# R Environment Variables
.Renviron
# pkgdown site
docs/
# translation temp files
po/*~
# RStudio Connect folder
rsconnect/
### R.Bookdown Stack ###
# R package: bookdown caching files
/*_files/
# End of https://www.toptal.com/developers/gitignore/api/R
*.pdf
*.html
bib

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
# TOPIC 8
Develop an R-based software, which will perform the following tasks:
1. Download from the OpenSky Network online database the observations of the trajectory of a randomly selected aircraft on a randomly selected flight over at least five days, in uninterrupted continuity, perform the selections in the graphical user interface (GUI) of your R script,
2. determine the characteristics of each trajectory according to the parameters: diffusion distance, straightness, duration of travel, mean travel velocity and fractal dimension, using the R library trajr, (4) perform basic statistical analysis of the parameters of daily trajectories from
3. arithmetic mean, variance, quartiles, boxplot, estimate of the density
function of the experimental statistical distribution, analyze and interpret them.
4. Demonstrate the
application of the developed software support on a selected example of use. In the final project report,
describe the problem, describe the method and the developed software support in the R environment,
present and interpret the results, and form a conclusion.
## Resources
1. [The OpenSky Network. (2025). Internet archive of observed aircraft trajectories.](https://opensky-network.org/datasets/states/)
2. [Schäfer, M, Strohmeier, M, Lenders, V, Martinovic, I, Wilhelm, M. (2014). Bringing Up OpenSky: A Large-scale ADS-B Sensor Network for Research. In Proceedings of the 13th IEEE/ACM International Symposium on Information Processing in Sensor Networks (IPSN), pages 83-94.](https://opensky-network.org/files/publications/ipsn2014.pdf)
3. [Zheng, Y. (2015). Trajectory Data Mining: An Overview. ACM Transactions on Intelligent Systems and Technology, 61(3), 141.](https://doi.org/10.1145/2743025)
4. [Thulin, M. (2025). Modern Statistics with R: From wrangling and exploring data to inference and predictive modelling. CRC Press. Boca Raton, Fl.](https://modernstatisticswithr.com/)
5. [McLean, D J, and Skowron Volponi, M A. (2018). trajr: An R package for characterisation of animal trajectories. Ethology, 124, 440448.](https://doi.org/10.1111/eth.12739)
## Setup
Use [renv](https://rstudio.github.io/renv/articles/renv.html) to install the correct dependencies using
```R
renv::restore()
```

13
proj-lbs.Rproj Normal file
View File

@@ -0,0 +1,13 @@
Version: 1.0
RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default
EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8
RnwWeave: Sweave
LaTeX: pdfLaTeX

67
renv.lock Normal file
View File

@@ -0,0 +1,67 @@
{
"R": {
"Version": "4.5.2",
"Repositories": [
{
"Name": "CRAN",
"URL": "https://packagemanager.posit.co/cran/latest"
}
]
},
"Packages": {
"renv": {
"Package": "renv",
"Version": "1.1.5",
"Source": "Repository",
"Type": "Package",
"Title": "Project Environments",
"Authors@R": "c( person(\"Kevin\", \"Ushey\", role = c(\"aut\", \"cre\"), email = \"kevin@rstudio.com\", comment = c(ORCID = \"0000-0003-2880-7407\")), person(\"Hadley\", \"Wickham\", role = c(\"aut\"), email = \"hadley@rstudio.com\", comment = c(ORCID = \"0000-0003-4757-117X\")), person(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\")) )",
"Description": "A dependency management toolkit for R. Using 'renv', you can create and manage project-local R libraries, save the state of these libraries to a 'lockfile', and later restore your library as required. Together, these tools can help make your projects more isolated, portable, and reproducible.",
"License": "MIT + file LICENSE",
"URL": "https://rstudio.github.io/renv/, https://github.com/rstudio/renv",
"BugReports": "https://github.com/rstudio/renv/issues",
"Imports": [
"utils"
],
"Suggests": [
"BiocManager",
"cli",
"compiler",
"covr",
"cpp11",
"devtools",
"generics",
"gitcreds",
"jsonlite",
"jsonvalidate",
"knitr",
"miniUI",
"modules",
"packrat",
"pak",
"R6",
"remotes",
"reticulate",
"rmarkdown",
"rstudioapi",
"shiny",
"testthat",
"uuid",
"waldo",
"yaml",
"webfakes"
],
"Encoding": "UTF-8",
"RoxygenNote": "7.3.2",
"VignetteBuilder": "knitr",
"Config/Needs/website": "tidyverse/tidytemplate",
"Config/testthat/edition": "3",
"Config/testthat/parallel": "true",
"Config/testthat/start-first": "bioconductor,python,install,restore,snapshot,retrieve,remotes",
"NeedsCompilation": "no",
"Author": "Kevin Ushey [aut, cre] (ORCID: <https://orcid.org/0000-0003-2880-7407>), Hadley Wickham [aut] (ORCID: <https://orcid.org/0000-0003-4757-117X>), Posit Software, PBC [cph, fnd]",
"Maintainer": "Kevin Ushey <kevin@rstudio.com>",
"Repository": "CRAN"
}
}
}

7
renv/.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
library/
local/
cellar/
lock/
python/
sandbox/
staging/

1334
renv/activate.R Normal file

File diff suppressed because it is too large Load Diff

19
renv/settings.json Normal file
View File

@@ -0,0 +1,19 @@
{
"bioconductor.version": null,
"external.libraries": [],
"ignored.packages": [],
"package.dependency.fields": [
"Imports",
"Depends",
"LinkingTo"
],
"ppm.enabled": null,
"ppm.ignored.urls": [],
"r.version": null,
"snapshot.type": "implicit",
"use.cache": true,
"vcs.ignore.cellar": true,
"vcs.ignore.library": true,
"vcs.ignore.local": true,
"vcs.manage.ignores": true
}