Skip to content

Commit 573e2a2

Browse files
committed
Moving data request functionality to tools!
1 parent d1a9087 commit 573e2a2

21 files changed

+69
-1138
lines changed

NAMESPACE

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ export(checkNames)
1414
export(checkOpenSession)
1515
export(checkRetrievedMatchDeployed)
1616
export(connectSeatrack)
17-
export(create_readme)
18-
export(data_request)
1917
export(deleteActivity)
2018
export(deleteFiles)
2119
export(deletePositions)
2220
export(deleteRecords)
2321
export(disconnectSeatrack)
2422
export(downloadFiles)
25-
export(export_data_package)
2623
export(getActiveSessions)
2724
export(getColonies)
2825
export(getFileArchiveSummary)
@@ -42,6 +39,7 @@ export(loadFile)
4239
export(loadPosdata)
4340
export(pruneRecordings)
4441
export(refreshViews)
42+
export(set_credentials_renviron)
4543
export(sfGmapPlot)
4644
export(uploadFiles)
4745
export(viewDatabaseModel)

R/authentication.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
#' @param user_name Username to access the seatrack database. If not provided, user will be prompted.
1010
#' @param password Password to access the seatrack database If not provided, user will be prompted.
1111
#'
12-
#' @example \dontrun{
12+
#' @examples
13+
#' \dontrun{
1314
#' set_credentials_renviron() # will prompt
1415
#' set_credentials_renviron("foo","bar") #only do this in the console
1516
#' }
1617
#' @export
18+
#' @concept db_connection
1719
set_credentials_renviron <- function(user_name = NULL, password = NULL) {
1820
if (is.null(user_name)) {
1921
user_name <- readline("Enter your username:")

R/data.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,12 @@ NULL
5555
#' @usage data(sampleRingHistory)
5656
#' @concept data
5757
NULL
58+
59+
# Fix the commenting error here too
60+
#' schema_dict
61+
#'
62+
#' @docType data
63+
#' @name schema_dict
64+
#' @usage data(schema_dict)
65+
#' @concept data
66+
NULL

R/data_requests.R

Lines changed: 0 additions & 389 deletions
This file was deleted.

_pkgdown.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ reference:
6161
- title: logger_info
6262
desc: Functions for reading and writing logger information to the database.
6363
contents: has_concept("logger_info")
64-
- title: Data request handling
65-
desc: Functions for managing data requests in the database.
66-
contents: has_concept("data_requests")
6764
- title: Files
6865
desc: Functions for reading and writing file information to the database and FTP
6966
server.

data-raw/prepareSchemaDict.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
schema_dict <- yaml::read_yaml(system.file("yaml", "output_schema.yaml", package = "seatrackR"))
2+
usethis::use_data(schema_dict, overwrite = TRUE)

data/schema_dict.rda

3.28 KB
Binary file not shown.

inst/Rmd/EXAMPLES_immersion.Rmd

Lines changed: 0 additions & 58 deletions
This file was deleted.

inst/Rmd/EXAMPLES_individuals.Rmd

Lines changed: 0 additions & 42 deletions
This file was deleted.

inst/Rmd/EXAMPLES_light.Rmd

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)