You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' @description add_labels_from_dictionary() is an Add function that updates an object by adding data to that object. Specifically, this function implements an algorithm to add labels from dictionary. Function argument ds_tb specifies the object to be updated. The function returns Labelled dataset (a tibble).
140
140
#' @param ds_tb Dataset (a tibble)
141
141
#' @param dictionary_tb Dictionary (a tibble)
142
-
#' @param remove_old_lbls_1L_lgl PARAM_DESCRIPTION, Default: F
142
+
#' @param remove_old_lbls_1L_lgl Remove old lbls (a logical vector of length one), Default: F
Copy file name to clipboardExpand all lines: R/fn_read.R
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
#' Read import from comma separated variables file
2
2
#' @description read_import_from_csv() is a Read function that reads an R script into memory. Specifically, this function implements an algorithm to read import from comma separated variables file. Function argument file_ref_chr specifies the path to object. The function returns Import (a ready4 S3).
3
3
#' @param file_ref_chr File reference (a character vector)
4
-
#' @param is_url_1L_lgl PARAM_DESCRIPTION, Default: F
4
+
#' @param is_url_1L_lgl Is url (a logical vector of length one), Default: F
Copy file name to clipboardExpand all lines: R/fn_transform.R
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#' Transform comma separated variables file column to list column
2
-
#' @description transform_csv_col_to_ls_col() is a Transform function that edits an object in such a way that core object attributes - e.g. shape, dimensions, elements, type - are altered. Specifically, this function implements an algorithm to transform comma separated variables file column to list column. Function argument csv_col specifies the object to be updated. The function returns List column (a list).
3
-
#' @param csv_col_xx PARAM_DESCRIPTION
2
+
#' @description transform_csv_col_to_ls_col() is a Transform function that edits an object in such a way that core object attributes - e.g. shape, dimensions, elements, type - are altered. Specifically, this function implements an algorithm to transform comma separated variables file column to list column. Function argument csv_col_xx specifies the object to be updated. The function returns List column (a list).
Copy file name to clipboardExpand all lines: R/fn_update.R
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
#' @description update_tb_src_loc_to_url_sgl_tb() is an Update function that edits an object, while preserving core object attributes. Specifically, this function implements an algorithm to update tibble source local to url sgl tibble. Function argument x specifies the object to be updated. Argument y provides the object to be updated. The function returns Updated (a tibble).
3
3
#' @param x An object
4
4
#' @param y PARAM_DESCRIPTION
5
-
#' @param local_to_url_vec_chr PARAM_DESCRIPTION
6
-
#' @param urls_vec_chr PARAM_DESCRIPTION
5
+
#' @param local_to_url_vec_chr Local to url vec (a character vector)
6
+
#' @param urls_vec_chr Urls vec (a character vector)
#' @description write_paired_ds_fls_to_dv() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write paired dataset files to dataverse. The function is called for its side effects and does not return a value. WARNING: This function writes R scripts to your local environment. Make sure to only use if you want this behaviour
142
+
#' @param ds_tb Dataset (a tibble)
143
+
#' @param fl_nm_1L_chr File name (a character vector of length one)
144
+
#' @param desc_1L_chr Description (a character vector of length one)
145
+
#' @param ds_url_1L_chr Dataset url (a character vector of length one), Default: 'https://doi.org/10.7910/DVN/2Y9VF9'
146
+
#' @param pkg_dv_dir_1L_chr Package dataverse directory (a character vector of length one), Default: 'data-raw/dataverse'
147
+
#' @param data_dir_rt_1L_chr Data directory root (a character vector of length one), Default: '.'
148
+
#' @param key_1L_chr Key (a character vector of length one), Default: Sys.getenv("DATAVERSE_KEY")
149
+
#' @param server_1L_chr Server (a character vector of length one), Default: Sys.getenv("DATAVERSE_SERVER")
#' @description write_pkg_dss_to_dv_ds_csvs() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write package datasets to dataverse dataset comma separated variables files. The function returns Dataset (a list).
@@ -177,7 +210,7 @@ write_pkg_dss_to_dv_ds_csvs <- function (pkg_dss_tb, dv_nm_1L_chr, ds_url_1L_chr
177
210
}
178
211
#' Write to add urls to datasets
179
212
#' @description write_to_add_urls_to_dss() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write to add urls to datasets. The function returns Package datasets (a tibble).
180
-
#' @param ds_url_1L_chr PARAM_DESCRIPTION
213
+
#' @param ds_url_1L_chr Dataset url (a character vector of length one)
181
214
#' @param pkg_dss_tb Package datasets (a tibble)
182
215
#' @param pkg_nm_1L_chr Package name (a character vector of length one), Default: ready4fun::get_dev_pkg_nm()
0 commit comments