Skip to contents

create_sql_dir will generate the path used to house the sql files based on the context parameter. The create_sql_dir function checks if a directory for SQL files exists based on the specified context (project, shiny, or sandbox) and creates one if it doesn't. This ensures the correct folder structure is set up for different project environments. [Stable]

Usage

create_sql_dir(context = "project")

Arguments

context

The context of your project. Options are: "project", "shiny", or "sandbox". If not specified, "project" is used by default.