Skip to contents
ChinAPIs 0.1.1
Bug Fixes
- Fixed all API functions to fail gracefully when requests are unavailable or return errors
- All functions now return
NULL with informative messages instead of stopping execution
- Improved error handling and timeout management to comply with CRAN policies regarding internet resources
- Enhanced robustness across all World Bank API, REST Countries API, and Nager.Date API functions
Test Improvements
- Reorganized and consolidated test suites for all functions using
testthat
- Added
skip_if() checks to handle NULL returns gracefully in tests
- Improved test coverage for edge cases and data validation
- Tests now properly validate API responses including
NA values where appropriate
ChinAPIs 0.1.0
CRAN release: 2025-08-26
Initial Release
- First release of the
ChinAPIs package
- Added functions to retrieve China-specific data from multiple public APIs
- Included 35+ datasets covering economic, demographic, geographic, health, and administrative data about China
- Comprehensive documentation and examples for all functions