Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jis-code Validation Failed in start with 0 strings #19

Closed
uribo opened this issue Aug 3, 2018 · 0 comments
Closed

jis-code Validation Failed in start with 0 strings #19

uribo opened this issue Aug 3, 2018 · 0 comments
Labels

Comments

@uribo
Copy link
Owner

@uribo uribo commented Aug 3, 2018

jpndistrict:::jpn_pref(8)
#> Simple feature collection with 44 features and 4 fields
#> geometry type:  GEOMETRY
#> dimension:      XY
#> bbox:           xmin: 139.6876 ymin: 35.73911 xmax: 140.8521 ymax: 36.94456
#> epsg (SRID):    4326
#> proj4string:    +proj=longlat +datum=WGS84 +no_defs
#> # A tibble: 44 x 5
#>    pref_code prefecture city_code city                            geometry
#>    <chr>     <chr>      <chr>     <chr>                     <GEOMETRY [°]>
#>  1 08        茨城県     08201     水戸市     POLYGON ((140.3894 36.46402,…
#>  2 08        茨城県     08202     日立市     MULTIPOLYGON (((140.7177 36.…
#>  3 08        茨城県     08203     土浦市     POLYGON ((140.1585 36.17482,…
#>  4 08        茨城県     08204     古河市     POLYGON ((139.8188 36.22698,…
#>  5 08        茨城県     08205     石岡市     POLYGON ((140.2065 36.31803,…
#>  6 08        茨城県     08207     結城市     POLYGON ((139.8778 36.32303,…
#>  7 08        茨城県     08208     龍ケ崎市   MULTIPOLYGON (((140.098 36.0…
#>  8 08        茨城県     08210     下妻市     MULTIPOLYGON (((139.9394 36.…
#>  9 08        茨城県     08211     常総市     POLYGON ((139.9601 36.14557,…
#> 10 08        茨城県     08212     常陸太田市 POLYGON ((140.5691 36.86238,…
#> # ... with 34 more rows
jpndistrict:::admins_code_validate("08201")
#> Error: x must be start a integer or as character from 1 to 47.

Created on 2018-08-03 by the reprex package (v0.2.0).

@uribo uribo added the bug 💣 label Aug 3, 2018
@uribo uribo closed this in 4c56924 Aug 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.