- Changed the pipe operator used in the package from magrittr's to the built-in one. Therefore, R 4.1.0 or higher is required to use this package.
- Reviewed the handling of meshcode in the data.frame #59. Added .keep_class to the argument of the function to be returned as a data.frame (
FALSEby default), and changed it so that the user can select the class. - Changed the method of generating mesh polygons smaller than 1km.
- Following sf updates
- Fix vdiffr conditionally
- To introduced a new
meshcodeclass. This is one of the classes of S3. The mesh code values returned by the package are implemented in themeshcodeclass. Also,meshcode()creates an object ofmeshcodeclass of arbitrary size #49.is_meshcode(),as_meshcode()
- Update administration mesh code data using at
administration_mesh() - Activate a memoise some functions for efficiency #50.
- Support 100m mesh code as
subdiv_meshcodeclass #51.
- Meshcode evaluation is now more stringent.
- Fixed a problem where a non-existent mesh code would return an incorrect value when given as input (#45).
- API changes to functions that take
mesh_size(#35). It has been changed to a numeric value in km unit instead of the mesh size string.
coords_to_mesh(141.3468, 43.06462, mesh_size = "10km")to
coords_to_mesh(141.3468, 43.06462, mesh_size = 10)- Add
mesh_convert()that mesh size can be changed freely.
# Scale up
mesh_convert("52350432", 80)
# Scale down
mesh_convert("52350432", 0.500)meshcode_sf()export data.frame to sf which include meshcode variable.
- Add image test with vdiffr (#41).
- Introducing GitHub actions.
- The bounding box value returned by
mesh_to_coords()is incorrect (#31)
- Fix R version test.
- Fix devel version's test.
- Withdrawal from the tidyverse. Remove depends on stringr, tidyr and dplyr.
- Follow up the units package update.
- Fixed overlapped probrem (#20)
coarse_gather()... Scale-down function #22
- Support units system (#15)
- Bug fixed (#13)
- All return mesh code should be character.
- Set sf object espg as
4326.
is_meshcode(),is_corner()... Predict meshcode format and positions for utility and certain.rmesh()... Generate random sample meshcode.- Rename
find_neighbor_mesh()toneighbor_mesh()and separate features (not export functions). export_meshes()
- add vignettes 1: How to use mesh cord in R
- Fixed incorrect allocation of fine mesh code number (#8).
- Modified
eval_jp_boundary()that internal function.- Add ... parameters to pass additional arguments.
- Improved problem of giving mesh code outside of Japan (reopen #6).
fine_separate()... Correct behavior when entering 1 km meshcode (#9).
- Consolidation of functions by integration and abolition. Rename of function name. Such as, argument order.
- You can now convert coordinates to 125m meshcode. As a result, it became to support to all meshcodes.
- Update Polygon Export Function (
export_mesh)
- Using sf api.
- Add new dataset.
jpnrect... Japan Prefecture Mesh Data.prefecture_mesh
- Enhanced CI and coverage environment (#5).
- Fix some issues (#6).
- Add new functions
pref_mesh()replicate toadministration_mesh()find_neighbor_mesh()... Find out neighborhood meshes.mesh_rectangle()... Output mesh rectange.
- Mesh viewer as shiny gadgets (
mesh_viewer()) #4 - Export mesh rectangle as geojson (
export_mesh()) #3
- Added simple Japan grid datasets.
- Making website by
pkgdown.
- Added a
NEWS.mdfile to track changes to the package. - Added base functions.