-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
vars_funs
interface in the R package to match the Python pac…
…kage (#34) * Add basic Python project with just vars_rename * Add unit tests for vars_rename * Add pytest-coverage workflow * Add Development docs to python/README.md * Clean up docs in vars_funs.py * Fix typo in pytest-coverage workflow * Accept any python >=3.9 in python package * Use optional-dependencies for dev deps in pyproject.toml * Fix vars_rename docstring in Python package * Update typing in vars_funs.py to be compatible with Python 3.9 * Add Sphinx docs for Python package * Update actions/checkout versions across workflows * Add Python docs generation to docs workflow * Fix ruff linter errors * Install both test and docs requirements when running pytest * Fix paths in pytest-coverage workflow * Better path management in docs conf.py * Rename build jobs in docs workflow * Include csv files in package data when building Python package * Temporarily disable branch restriction for docs deployment to test it out * Update deploy-pages version * Revert "Temporarily disable branch restriction for docs deployment to test it out" This reverts commit 9cc256b. * Fix broken link in Python docs * Switch to new style python type hints since we don't support 3.9 anyway * Remove unnecessary templates_path config from pyproject.toml * Empty commit to try to bust build-pkgdown-site actions cache * Draft Python version of vars_recode * Remove unnecessary .python-version file * Add pip install directions to README and index.rst for Python package * Remove unnecessary uv.lock file * Rename 'test' -> 'dev' in pyproject optional-dependencies * Switch order of authors in pyproject.toml * Capitalize VAR_NAME_PREFIX constant in vars_funs.py * Remove unnecessary OutputType enum from vars_funs.py * Remove duplicative type checking in vars_funs.py * Wrap Python tests in classes for clearer organization * Change chars_sample fixtures to symlinks to R data in Python package * WIP add vars_recode * Add tests for vars_recode and fixup logic * Add docs for vars_dict and vars_recode in Python package * Remove unnecessary select_dtypes filter in Python vars_recode * Add python/ subdir to RBuildignore so it does not get built into R package * Update docs to fix incorrect EXT_WALL code translation * Clarify docs for vars_dict data object in reference.rst * Stricter dictionary schema validation in Python version of vars_recode * Remove outdated comment in python/ccao/vars_funs.py Co-authored-by: Dan Snow <[email protected]> * Remove deprecated `vars_check_class` function from R package * Update roxygen docs to remove vars_check_class and tweak vars_recode docs * Rename `type` and `dictionary` params in R package vars funs to match Python * Fix error in var_funs example code * Remove unused `class_dict` data object from the R package * Update R package docs to reflect removal of `class_dict` data object * Remove unused class_dict.rda object * Remove pytest and ruff caches from R build * Remove warnings and fallback behavior for deprecated `type` and `dict` args in `vars_funs.R` --------- Co-authored-by: Dan Snow <[email protected]>
- Loading branch information
1 parent
2b027d4
commit 6445f79
Showing
13 changed files
with
116 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.