tests/testthat/_snaps/geojson_json.md

geojson_json works with data.frame inputs

{
  "type": "character",
  "attributes": {},
  "value": ["{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-87.46201,30.38968],[-87.48493,30.37249],[-87.52503,30.37249],[-87.53076,30.33239],[-87.57087,30.32665],[-87.58806,30.32665],[-87.59379,30.30947],[-87.59379,30.28655],[-87.674,30.27509],[-87.81152,30.2579],[-87.88026,30.24644],[-87.92037,30.24644],[-87.95475,30.24644],[-88.00632,30.24071],[-88.01778,30.25217],[-88.01205,30.26936],[-87.99486,30.27509],[-87.95475,30.27509],[-87.90318,30.28082],[-87.8287,30.28655],[-87.80006,30.28655],[-87.80006,30.32665],[-87.81724,30.34385],[-87.84016,30.38395],[-87.85162,30.40114],[-87.87453,30.4126],[-87.90318,30.42406],[-87.9261,30.44698],[-87.93183,30.49281],[-87.94329,30.52719],[-87.92037,30.56157],[-87.91464,30.58449],[-87.9261,30.61886],[-87.92037,30.67043],[-87.94902,30.69908],[-87.98913,30.79075],[-88.00632,30.79648],[-88.01778,30.80221],[-88.03497,30.79075],[-88.04642,30.75638],[-88.05215,30.72773],[-88.05215,30.71054],[-88.06361,30.68762],[-88.06934,30.68189],[-88.0808,30.63033],[-88.0808,30.61314],[-88.09799,30.60741],[-88.10944,30.59595],[-88.11518,30.58449],[-88.10944,30.55584],[-88.12091,30.48136],[-88.12091,30.44125],[-88.12664,30.38968],[-88.13237,30.36103],[-88.14383,30.34385],[-88.16102,30.33812],[-88.17248,30.33812],[-88.18966,30.3553],[-88.22404,30.37822],[-88.2355,30.39541],[-88.28706,30.40114],[-88.31571,30.40114],[-88.3329,30.40114],[-88.3501,30.42406],[-88.39021,30.4126],[-88.40739,30.73346],[-88.41885,30.99702],[-88.43031,31.12307],[-88.45322,31.43247],[-88.46468,31.69603],[-88.47614,31.89083],[-88.43031,32.22314],[-88.43031,32.30909],[-88.39021,32.57838],[-88.3501,32.92215],[-88.33863,32.98518],[-88.29853,33.28312],[-88.2756,33.52949],[-88.25269,33.73576],[-88.20686,34.06234],[-88.20686,34.07953],[-88.18394,34.31444],[-88.16675,34.46341],[-88.14955,34.58373],[-88.10944,34.89886],[-88.13237,34.90459],[-88.16675,34.95043],[-88.18966,34.99627],[-88.18394,35.01345],[-87.98913,35.01345],[-87.60525,35.00772],[-87.2271,35.00199],[-87.20417,35.00199],[-86.82603,34.99627],[-86.78019,34.99053],[-86.31036,34.99053],[-85.852,34.9848],[-85.61135,34.97907],[-85.58844,34.84156],[-85.5426,34.61811],[-85.52541,34.58373],[-85.46812,34.26287],[-85.42801,34.07953],[-85.40509,33.95921],[-85.39363,33.90764],[-85.34779,33.66127],[-85.31342,33.49511],[-85.29623,33.43209],[-85.24466,33.11696],[-85.23893,33.1055],[-85.19309,32.87059],[-85.19309,32.85913],[-85.17018,32.84194],[-85.14725,32.79037],[-85.13007,32.76746],[-85.13007,32.75027],[-85.12434,32.73308],[-85.10142,32.67578],[-85.10142,32.63567],[-85.06704,32.60703],[-85.04986,32.55546],[-85.00975,32.52682],[-84.98683,32.49817],[-84.99256,32.46952],[-84.97537,32.42368],[-84.98109,32.37785],[-85.00402,32.33774],[-84.97537,32.30909],[-84.92381,32.28044],[-84.90089,32.25179],[-84.92953,32.23461],[-84.95245,32.22887],[-84.96964,32.20023],[-84.99256,32.18304],[-85.04986,32.16012],[-85.06131,32.12001],[-85.06131,32.10283],[-85.06131,32.08564],[-85.06131,32.06272],[-85.06131,32.02834],[-85.06131,31.99396],[-85.07851,31.95959],[-85.10715,31.93667],[-85.14153,31.86791],[-85.1358,31.7877],[-85.1358,31.77624],[-85.13007,31.7304],[-85.11861,31.68456],[-85.07851,31.61581],[-85.06131,31.55852],[-85.06131,31.52414],[-85.08424,31.4783],[-85.08424,31.44392],[-85.0957,31.40955],[-85.0957,31.34079],[-85.10142,31.30068],[-85.12434,31.28349],[-85.12434,31.25485],[-85.11288,31.19182],[-85.11288,31.17463],[-85.08997,31.14026],[-85.04413,31.11161],[-85.0384,31.09442],[-85.03267,31.07723],[-85.03267,31.03712],[-85.01548,31.00275],[-85.01548,30.99702],[-85.49677,31.00847],[-85.51968,31.00847],[-86.0468,31.00847],[-86.2015,31.00847],[-86.39057,31.00847],[-86.7057,31.00847],[-86.79737,31.00847],[-87.18126,31.00847],[-87.60525,31.00847],[-87.60525,30.95691],[-87.61097,30.93399],[-87.6339,30.89962],[-87.63963,30.8767],[-87.6339,30.85951],[-87.61097,30.84232],[-87.54795,30.77356],[-87.49065,30.722],[-87.46201,30.71054],[-87.45055,30.69908],[-87.4219,30.67616],[-87.41044,30.64751],[-87.41044,30.61886],[-87.43336,30.58449],[-87.46201,30.54438],[-87.46774,30.52719],[-87.46201,30.51],[-87.44482,30.49281],[-87.39899,30.45844],[-87.39326,30.44698],[-87.40472,30.42979],[-87.4219,30.42979],[-87.43909,30.42406],[-87.43909,30.41833],[-87.45055,30.40114],[-87.46201,30.38968]]]},\"properties\":{\"group\":\"1\",\"order\":\"  1\",\"region\":\"alabama\",\"subregion\":null}},{\"type\":\"Feature\",\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-114.63739,35.01918],[-114.64313,35.10512],[-114.60302,35.12231],[-114.57436,35.17961],[-114.58583,35.2369],[-114.59728,35.28274],[-114.60874,35.35723],[-114.62594,35.40879],[-114.66605,35.45463],[-114.66031,35.50047],[-114.66605,35.54057],[-114.67178,35.60933],[-114.68324,35.66662],[-114.70042,35.71246],[-114.70042,35.79268],[-114.68896,35.88435],[-114.71188,35.91299],[-114.7348,35.95883],[-114.7348,36.01613],[-114.75771,36.06197],[-114.7348,36.1078],[-114.70042,36.11926],[-114.64313,36.14218],[-114.55718,36.15364],[-114.48843,36.13645],[-114.39675,36.13645],[-114.328,36.11353],[-114.31081,36.04478],[-114.26498,36.02758],[-114.20194,36.02186],[-114.13892,36.03905],[-114.116,36.09634],[-114.08163,36.13645],[-114.05298,36.21093],[-114.04725,36.84119],[-114.04152,36.99588],[-113.8238,36.99588],[-113.53732,37.00161],[-113.27949,37.00161],[-113.00447,37.00161],[-112.90707,36.99588],[-112.72945,37.00161],[-112.54037,36.99588],[-112.41432,36.99588],[-112.20805,36.99588],[-111.95023,37.00161],[-111.68667,37.00161],[-111.41164,37.00161],[-111.31997,37.00161],[-111.25121,36.99588],[-111.12516,36.99588],[-110.84441,37.00161],[-110.75847,36.99588],[-110.68399,36.99588],[-110.54648,36.99588],[-110.30583,37.00161],[-110.0881,37.00161],[-110.0079,37.00161],[-109.93341,36.99588],[-109.71568,36.99588],[-109.41203,36.99588],[-109.14846,36.99588],[-109.0396,36.99588],[-109.04533,35.99894],[-109.05106,34.95043],[-109.05106,34.57227],[-109.05679,33.77586],[-109.05106,33.2029],[-109.05679,32.77892],[-109.05679,32.42368],[-109.05679,31.35225],[-109.23441,31.35225],[-109.62402,31.34652],[-109.99644,31.35225],[-110.35167,31.35225],[-110.47772,31.35225],[-110.63242,31.35225],[-110.98766,31.34652],[-111.11943,31.35798],[-111.29705,31.41528],[-111.38873,31.44392],[-111.62936,31.51841],[-112.03616,31.65019],[-112.32838,31.74186],[-112.66642,31.83927],[-112.92998,31.92521],[-113.18781,32.00542],[-113.34824,32.05699],[-113.46856,32.0971],[-113.74358,32.18877],[-114.0358,32.27471],[-114.31654,32.36066],[-114.70042,32.48098],[-114.80928,32.51535],[-114.79781,32.57838],[-114.76917,32.67006],[-114.7348,32.73308],[-114.68896,32.74454],[-114.65459,32.73881],[-114.59156,32.73881],[-114.55145,32.76173],[-114.5228,32.82475],[-114.47697,32.87632],[-114.47697,32.93362],[-114.4827,32.99664],[-114.53999,33.04247],[-114.66031,33.05394],[-114.70042,33.08258],[-114.71188,33.13415],[-114.68896,33.26593],[-114.74052,33.31176],[-114.71761,33.3576],[-114.72906,33.40344],[-114.68896,33.43209],[-114.64885,33.45501],[-114.63739,33.48365],[-114.60874,33.50084],[-114.6202,33.52949],[-114.56864,33.54668],[-114.55718,33.57533],[-114.52853,33.63262],[-114.53999,33.69565],[-114.5228,33.73003],[-114.53999,33.78159],[-114.53999,33.92483],[-114.51707,33.96494],[-114.45405,33.99932],[-114.47124,34.0165],[-114.44832,34.03942],[-114.41967,34.07953],[-114.39675,34.11391],[-114.29935,34.15401],[-114.2306,34.19985],[-114.19049,34.24569],[-114.13319,34.26287],[-114.13892,34.29725],[-114.16756,34.33736],[-114.28789,34.4233],[-114.37383,34.46914],[-114.40249,34.58946],[-114.41967,34.61238],[-114.44832,34.70978],[-114.57436,34.80719],[-114.55145,34.83583],[-114.54572,34.84729],[-114.56864,34.86448],[-114.60874,34.8874],[-114.63167,34.96188],[-114.63739,35.01918]]]},\"properties\":{\"group\":\"2\",\"order\":\"204\",\"region\":\"arizona\",\"subregion\":null}}]}"]
}


Try the geojsonio package in your browser

Any scripts or data that you put into this service are public.

geojsonio documentation built on Sept. 8, 2023, 5:54 p.m.