Improve example on website
Closed this issue · 2 comments
MonikaFu commented
Currently you use strings "/path/to/specific/data" and "/path/to/agnostic/data" as placeholders for user's path. It makes it a bit tedious to run the example. My proposal is to assign them to variables so that once the user has the variables with the right paths in their environment, they can just copy your code. Like so:
path_to_specific_data <- "/path/to/specific/data"
path_to_agnostic_data <- "/path/to/agnostic/data"
run_prep_calculation_loans(
input_path_project_specific = path_to_specific_data,
input_path_project_agnostic = path_to_agnostic_data,
data_prep_output_path = path_to_specific_data
)
Deleted user commented
If it is ok with you I would close this issue. We will use toy data included in the package in the example the the website so there will be no more need to provide filepaths.
MonikaFu commented
Yes! Sounds good.