Generate DGF and RG
datagoodr.Rd
Run the entire datagoodr workflow
Usage
datagoodr(
wd = getwd(),
folder.name = NULL,
path.raw.data,
create.dgf.params = NULL,
rg.name = "research-guide"
)
Arguments
- wd
charterer string of project output location. Default is the current working directory.
- folder.name
character string of folder project output will be put into. Defaut is "datagoodr-TODAYSDATE".
- path.raw.data
character string of absolute path to raw dataset that is to be documented. File extension can be .csv or .xlsx. See data-dev/demo-data-small.csv for an example.
- create.dgf.params
list of function arguments for creating the dgf. See create_dgf for available function arguments (df argument is not needed). Defaul is NULL which uses the default arguments for create_dgf.
- rg.name
character string to name the final research guide output. Default is "research-guide".
Examples
if (FALSE) {
## Testing datagoor funciton
library(datagoodr )
datagoodr(
wd = "~/Desktop",
folder.name = NULL,
location.data.raw = paste0(getwd(), "/data-dev/DEMO-DATA-SMALL.csv"),
create.dgf.params = list(use.df.types = FALSE,
guess.factors = TRUE,
guess.dates = FALSE),
rg.name = "test-research-guide"
)
}