load_ezrsurvey_profile
load_ezrsurvey_profile(path=None, quiet=True)Load ezrsurvey defaults from a YAML profile.
Reads a YAML file of option: value pairs and applies them with ezrsurvey_options(). Called automatically when the package is imported (over the standard ezrsurvey_profile_paths()); call it manually to load a specific file.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| path | str or list of str | Profile path(s). If None (default), the standard locations are tried in order (later files override earlier ones). | None |
| quiet | bool | If True (default), load silently; if False, report which file(s) were loaded. | True |
Returns
| Name | Type | Description |
|---|---|---|
| bool | True if any profile was applied, else False. |
See Also
use_ezrsurvey_profile
Examples
>>> load_ezrsurvey_profile("~/.ezrsurvey.yml", quiet=False)