{"id":2319572,"date":"2024-06-04T09:00:49","date_gmt":"2024-06-04T16:00:49","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2319572"},"modified":"2025-07-22T12:08:50","modified_gmt":"2025-07-22T19:08:50","slug":"geocode-from-r-using-arcgisgeocode","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode","title":{"rendered":"Geocode from R using {arcgisgeocode}"},"author":340172,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[37101,738191],"tags":[39801,774182,32391,25091,31611],"industry":[],"product":[36571,761642,36551,36861,36601],"class_list":["post-2319572","blog","type-blog","status-publish","format-standard","hentry","category-announcements","category-developers","tag-arcgis-developer-community","tag-arcgis-geocoding-service","tag-geocode","tag-geocoding","tag-r-arcgis-bridge","product-arcgis-enterprise","product-platform","product-arcgis-online","product-api-rest","product-developers"],"acf":{"authors":[{"ID":340172,"user_firstname":"Martha","user_lastname":"Bass","nickname":"Martha Bass","user_nicename":"mbass","display_name":"Martha Bass","user_email":"mbass@esri.com","user_url":"","user_registered":"2023-06-02 14:19:01","user_description":"Martha Bass is a Product Engineer on the Spatial Statistics team at Esri.","user_avatar":"<img alt='' src='https:\/\/secure.gravatar.com\/avatar\/f1833d3ccca7aa1c13005e3621a85247b3f9947ee6cbcc857a68e0a6c24546b0?s=96&#038;d=blank&#038;r=g' srcset='https:\/\/secure.gravatar.com\/avatar\/f1833d3ccca7aa1c13005e3621a85247b3f9947ee6cbcc857a68e0a6c24546b0?s=192&#038;d=blank&#038;r=g 2x' class='avatar avatar-96 photo' height='96' width='96' loading='lazy' decoding='async'\/>"},{"ID":354322,"user_firstname":"Josiah","user_lastname":"Parry","nickname":"Josiah Parry","user_nicename":"jparry","display_name":"Josiah Parry","user_email":"jparry@esri.com","user_url":"https:\/\/josiahparry.com","user_registered":"2024-03-06 19:22:54","user_description":"Josiah Parry is a Senior Product Engineer in Spatial Analytics and Data Science and helps lead the R-ArcGIS Bridge project.","user_avatar":"<img alt='' src='https:\/\/secure.gravatar.com\/avatar\/26cadf4c99dadd093f2ea5675170ce5fad8a67803ac882b0a71018b47287be7b?s=96&#038;d=blank&#038;r=g' srcset='https:\/\/secure.gravatar.com\/avatar\/26cadf4c99dadd093f2ea5675170ce5fad8a67803ac882b0a71018b47287be7b?s=192&#038;d=blank&#038;r=g 2x' class='avatar avatar-96 photo' height='96' width='96' loading='lazy' decoding='async'\/>"}],"short_description":"Learn to geocode addresses with {arcgisgeocode}, a new R package in the {arcgis} metapackage by the R-ArcGIS Bridge.","flexible_content":[{"acf_fc_layout":"content","content":"<p>With the new package <a href=\"https:\/\/github.com\/r-arcgis\/arcgisgeocode\/\"><code>{arcgisgeocode}<\/code><\/a>, which is part of the <a href=\"https:\/\/cran.r-project.org\/web\/packages\/arcgis\/\">{arcgis}<\/a> metapackage and the <a href=\"https:\/\/developers.arcgis.com\/r-bridge\/\">R-ArcGIS Bridge<\/a>, you can now geocode directly from R! Geocoding is the process of identifying the location associated with an address. <code>{arcgisgeocode}<\/code> enables users to do this &#8211; and so much more &#8211; with functions for address candidate identification, batch geocoding, reverse geocoding, and autocomplete location suggestions. You can use the <a href=\"https:\/\/www.arcgis.com\/home\/item.html?id=305f2e55e67f4389bef269669fc2e284\">ArcGIS World Geocoding Service<\/a> or even make use of custom locators created in <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/help\/data\/geocoding\/create-a-locator.htm\">ArcGIS Pro<\/a>, <a href=\"https:\/\/doc.arcgis.com\/en\/arcgis-online\/manage-data\/create-locator.htm\">ArcGIS Online<\/a>, and <a href=\"https:\/\/enterprise.arcgis.com\/en\/portal\/latest\/use\/create-locator.htm\">ArcGIS Enterprise<\/a>, as shown in the example below. Let\u2019s take a quick look at how you can use <code>{arcgisgeocode}<\/code> to locate bike shops in Tacoma, Washington.<\/p>\n"},{"acf_fc_layout":"content","content":"<section id=\"install-and-load-the-package\" class=\"level3\">\n<h3 class=\"anchored\" data-anchor-id=\"install-and-load-the-package\">Install and load the package<\/h3>\n<p>In your integrated development environment (IDE) of choice, install and load <code>{arcgisgeocode}<\/code>:<\/p>\n<\/section>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d\"># install arcgisgeocode<\/span>\r\ninstall.packages(<span style=\"color: #032f62\">\"arcgisgeocode\"<\/span>)\r\n\r\n<span style=\"color: #6a737d\"># load the package<\/span>\r\nlibrary(arcgisgeocode)\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<section id=\"install-and-load-the-package\" class=\"level3\">You will also need the <a href=\"https:\/\/r.esri.com\/arcgisutils\/index.html\"><code>{arcgisutils}<\/code><\/a> package in order to <a href=\"https:\/\/developers.arcgis.com\/r-bridge\/authentication\/\">authorize with an ArcGIS portal<\/a>. Follow the instructions in the linked documentation if you have not authorized using <code>{arcgisutils}<\/code> before.<\/p>\n<pre><code><span style=\"color: #6a737d\"># load arcgisutils<\/span>\r\nlibrary(arcgisutils)\r\n\r\n<span style=\"color: #6a737d\"># set the token for authorization<\/span>\r\nset_arc_token(auth_user())\r\n<\/code><\/pre>\n<\/section>\n"},{"acf_fc_layout":"content","content":"<section id=\"read-in-bike-shop-addresses\" class=\"level3\">\n<h3 class=\"anchored\" data-anchor-id=\"read-in-bike-shop-addresses\">Read in bike shop addresses<\/h3>\n<p>First, load a <a href=\"https:\/\/analysis-1.maps.arcgis.com\/home\/item.html?id=9a9b91179ac44db1b689b42017471ae6\">non-spatial table of bike shop locations<\/a>. Add a field containing row numbers, which will serve as an ID for joining the inputs back to the geocoded results. When using <code>geocode_addresses()<\/code>, the join field is named <code>result_id<\/code>. For <code>find_address_candidates()<\/code>, the join field is <code>input_id<\/code>.<\/p>\n<\/section>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d\"># load the bike shop addresses<\/span>\r\ncsv <span style=\"color: #005cc5\">&lt;-<\/span> <span style=\"color: #032f62\">\"https:\/\/www.arcgis.com\/sharing\/rest\/content\/items\/9a9b91179ac44db1b689b42017471ae6\/data\"<\/span>\r\nbikeshops <span style=\"color: #005cc5\">&lt;-<\/span> readr<span style=\"color: #005cc5\">::<\/span>read_csv(csv) <span style=\"color: #005cc5\">|&gt;<\/span>\r\n  <span style=\"color: #6a737d\"># add result_id field<\/span>\r\n  dplyr<span style=\"color: #005cc5\">::<\/span>mutate(\r\n    result_id <span style=\"color: #005cc5\">=<\/span> dplyr<span style=\"color: #005cc5\">::<\/span>row_number()\r\n  )\r\nbikeshops\r\n<span style=\"color: #6a737d\">#&gt; # A tibble: 10 \u00d7 3<\/span>\r\n<span style=\"color: #6a737d\">#&gt;    store_name                           original_address               result_id<\/span>\r\n<span style=\"color: #6a737d\">#&gt;    &lt;chr&gt;                                &lt;chr&gt;                              &lt;int&gt;<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  1 Cascadia Wheel Co.                   3320 N Proctor St, Tacoma, WA\u2026         1<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  2 Puget Sound Bike and Ski Shop        between 3206 N. 15th and 1414\u2026         2<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  3 Takoma Bike &amp; Ski                    3010 6th Ave, Tacoma, WA 98406         3<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  4 Trek Bicycle Tacoma University Place 3550 Market Pl W Suite 102, U\u2026         4<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  5 Opalescent Cyclery                   814 6th Ave, Tacoma, WA 98405          5<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  6 Sound Bikes                          108 W Main, Puyallup, WA 98371         6<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  7 Trek Bicycle Tacoma North End        3009 McCarver St, Tacoma, WA \u2026         7<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  8 Second Cycle                         1205 M.L.K. Jr Way, Tacoma, W\u2026         8<\/span>\r\n<span style=\"color: #6a737d\">#&gt;  9 Penny bike co.                       6419 24th St NE, Tacoma, WA 9\u2026         9<\/span>\r\n<span style=\"color: #6a737d\">#&gt; 10 Spider's Bike, Ski &amp; Tennis Lab      3608 Grandview St, Gig Harbor\u2026        10<\/span>\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<section id=\"access-the-custom-locator\" class=\"level3\">\n<h3 class=\"anchored\" data-anchor-id=\"access-the-custom-locator\">Access the custom locator<\/h3>\n<p>Since the goal is to map bike shops in Tacoma, let\u2019s use the City of Tacoma\u2019s custom locator for geocoding. (Be sure to review the City of Tacoma\u2019s <a href=\"https:\/\/tacomaopendata-tacoma.hub.arcgis.com\/pages\/disclaimer\">disclaimer<\/a> first.)<\/p>\n<\/section>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d\"># create a GeocodeServer object for the Tacoma custom locator<\/span>\r\ntacoma_gc <span style=\"color: #005cc5\">&lt;-<\/span> geocode_server(<span style=\"color: #032f62\">'https:\/\/gis.cityoftacoma.org\/arcgis\/rest\/services\/Locators\/Tacoma_Geocoding_Service\/GeocodeServer'<\/span>)\r\ntacoma_gc\r\n<span style=\"color: #6a737d\">#&gt; &lt;GeocodeServer&gt;<\/span>\r\n<span style=\"color: #6a737d\">#&gt; Version: 10.81<\/span>\r\n<span style=\"color: #6a737d\">#&gt; CRS: 2927<\/span>\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<section id=\"geocode-the-bike-shops\" class=\"level3\">\n<h3 class=\"anchored\" data-anchor-id=\"geocode-the-bike-shops\">Geocode the bike shops<\/h3>\n<p>To derive locations from the bike shop addresses, pass the <code>original_address<\/code> column to the batch geocoding function, <code>geocode_addresses()<\/code>. Then, join the results back to the original shop names and addresses.<\/p>\n<\/section>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d\"># geocode<\/span>\r\ncandidates <span style=\"color: #005cc5\">&lt;-<\/span> geocode_addresses(\r\n   single_line <span style=\"color: #005cc5\">=<\/span> bikeshops$original_address,\r\n   for_storage <span style=\"color: #005cc5\">=<\/span> <span style=\"color: #005cc5\">TRUE<\/span>,\r\n   geocoder <span style=\"color: #005cc5\">=<\/span> tacoma_gc\r\n   )\r\n\r\n<span style=\"color: #6a737d\"># reformat geocoded output<\/span>\r\ncandidates <span style=\"color: #005cc5\">&lt;-<\/span> candidates<span style=\"color: #005cc5\">|&gt;<\/span>\r\n  <span style=\"color: #6a737d\"># select the relevant geocoding result columns<\/span>\r\n  dplyr<span style=\"color: #005cc5\">::<\/span>select(<span style=\"color: #e36209\">c<\/span>(result_id<span style=\"color: #005cc5\">:<\/span>addr_type, geometry)) <span style=\"color: #005cc5\">|&gt;<\/span>\r\n  <span style=\"color: #6a737d\"># merge back to bikeshops<\/span>\r\n  dplyr<span style=\"color: #005cc5\">::<\/span>left_join(bikeshops) <span style=\"color: #005cc5\">|&gt;<\/span>\r\n  <span style=\"color: #6a737d\"># rearrange columns for readability<\/span>\r\n  dplyr<span style=\"color: #005cc5\">::<\/span>relocate(store_name<span style=\"color: #005cc5\">:<\/span>original_address, .after <span style=\"color: #005cc5\">=<\/span> result_id)\r\n\r\n<span style=\"color: #6a737d\"># view the results<\/span>\r\ndplyr<span style=\"color: #005cc5\">::<\/span>glimpse(candidates)\r\n<span style=\"color: #6a737d\">#&gt; Rows: 10<\/span>\r\n<span style=\"color: #6a737d\">#&gt; Columns: 11<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ result_id        &lt;int&gt; 1, 3, 4, 5, 7, 6, 2, 8, 10, 9<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ store_name       &lt;chr&gt; \"Cascadia Wheel Co.\", \"Takoma Bike &amp; Ski\", \"Trek Bicy\u2026<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ original_address &lt;chr&gt; \"3320 N Proctor St, Tacoma, WA 98407\", \"3010 6th Ave,\u2026<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ loc_name         &lt;chr&gt; NA, NA, NA, NA, NA, NA, NA, NA, NA, NA<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ status           &lt;chr&gt; \"M\", \"M\", \"M\", \"M\", \"M\", \"U\", \"M\", \"M\", \"U\", \"M\"<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ score            &lt;dbl&gt; 100.00, 100.00, 100.00, 100.00, 100.00, 0.00, 95.68, \u2026<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ match_addr       &lt;chr&gt; \"3320 N PROCTOR ST, Tacoma, WA, 98407\", \"3010 6TH AVE\u2026<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ long_label       &lt;chr&gt; \"3320 N PROCTOR ST, Tacoma, WA, 98407\", \"3010 6TH AVE\u2026<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ short_label      &lt;chr&gt; \"3320 N PROCTOR ST\", \"3010 6TH AVE\", \"3550 MARKET PL \u2026<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ addr_type        &lt;chr&gt; \"PointAddress\", \"PointAddress\", \"PointAddress\", \"Poin\u2026<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ geometry         &lt;POINT [US_survey_foot]&gt; POINT (1146741 715552.6), POINT (1149922 706941.5), P\u2026<\/span>\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<section id=\"assess-the-candidates\" class=\"level3\">\n<h3 class=\"anchored\" data-anchor-id=\"assess-the-candidates\">Assess the candidates<\/h3>\n<p>Geocoded results return a <code>status<\/code> and <code>score<\/code> for each location, which help with evaluating the success of the geocoding operation. The status of a location can be <code>M<\/code> (matched), <code>U<\/code> (unmatched), or <code>T<\/code> (tied). Let\u2019s see if any bike shop addresses were unmatched or tied.<\/p>\n<\/section>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d\"># check for any status other than matched<\/span>\r\ncandidates |&gt;\r\n   dplyr<span style=\"color: #005cc5\">::<\/span>filter(status <span style=\"color: #005cc5\">!=<\/span> <span style=\"color: #032f62\">\"M\"<\/span>]) |&gt;\r\n   dplyr<span style=\"color: #005cc5\">::<\/span>glimpse()\r\n<span style=\"color: #6a737d\">#&gt; Rows: 2<\/span>\r\n<span style=\"color: #6a737d\">#&gt; Columns: 11<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ result_id        &lt;int&gt; 6, 10<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ store_name       &lt;chr&gt; \"Sound Bikes\", \"Spider's Bike, Ski &amp; Tennis Lab\"<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ original_address &lt;chr&gt; \"108 W Main, Puyallup, WA 98371\", \"3608 Grandview St,\u2026<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ loc_name         &lt;chr&gt; NA, NA<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ status           &lt;chr&gt; \"U\", \"U\"<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ score            &lt;dbl&gt; 0, 0<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ match_addr       &lt;chr&gt; NA, NA<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ long_label       &lt;chr&gt; NA, NA<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ short_label      &lt;chr&gt; NA, NA<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ addr_type        &lt;chr&gt; NA, NA<\/span>\r\n<span style=\"color: #6a737d\">#&gt; $ geometry         &lt;POINT [US_survey_foot]&gt; POINT EMPTY, POINT EMPTY<\/span>\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<p>Two bike shop addresses were not matched to a location in Tacoma. Upon reviewing the locations, these correspond to bike shops that are outside Tacoma city limits. You can remove these locations from your results. Then, view the <code>score<\/code> values assigned to all of the matching locations.<\/p>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d\"># only use the matched locations<\/span>\r\ncandidates <span style=\"color: #005cc5\">&lt;-<\/span> candidates[candidates<span style=\"color: #005cc5\">$<\/span>status <span style=\"color: #005cc5\">==<\/span> <span style=\"color: #032f62\">\"M\"<\/span>, ]\r\n\r\n<span style=\"color: #6a737d\"># view the geocoding scores<\/span>\r\ncandidates<span style=\"color: #005cc5\">$<\/span>score\r\n<span style=\"color: #6a737d\">#&gt; [1] 100.00 100.00 100.00 100.00 100.00  95.68 100.00 100.00<\/span>\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<p>The scores look good &#8211; a score of 100 indicates a perfect match. You can move on to visualizing these results.<\/p>\n<p>Learn more about geocoding results <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/help\/data\/geocoding\/what-is-included-in-the-geocoded-results-.htm\">here<\/a>.<\/p>\n<section id=\"visualize-the-results\" class=\"level3\">\n<h3 class=\"anchored\" data-anchor-id=\"visualize-the-results\">Visualize the results<\/h3>\n<p>Creating a hosted feature layer in ArcGIS Online is a great way to display and share these results with others. You can use <a href=\"https:\/\/r.esri.com\/arcgislayers\/index.html\"><code>{arcgislayers}<\/code><\/a> to do this directly from R. Load the package and then pass the <code>sf<\/code> object, <code>candidates<\/code>, to the <code>publish_layer()<\/code> function.<\/p>\n<\/section>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d\"># load arcgislayers<\/span>\r\nlibrary(arcgislayers)\r\n\r\n<span style=\"color: #6a737d\"># publish the geocoding results as a hosted feature layer<\/span>\r\nres <span style=\"color: #005cc5\">&lt;-<\/span> publish_layer(candidates, <span style=\"color: #032f62\">\"Tacoma Bike Shops\"<\/span>)\r\nres<span style=\"color: #005cc5\">$<\/span>services<span style=\"color: #005cc5\">$<\/span>serviceurl\r\n<span style=\"color: #6a737d\">#&gt; [1] \"https:\/\/services1.arcgis.com\/hLJbHVT9ZrDIzK0I\/arcgis\/rest\/services\/Tacoma Bike Shops\/FeatureServer\"<\/span>\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<p>Now you can explore the published data in ArcGIS Online. From there, you can create and share web maps and apps, like <a href=\"https:\/\/www.arcgis.com\/apps\/dashboards\/8bf3b39bd6b9423683b1d99e5bed7c7d\">this ArcGIS Dashboard<\/a>:<\/p>\n"},{"acf_fc_layout":"storymap","title":"","description":"","static":false,"storymap_url":"<a href=\"https:\/\/www.arcgis.com\/apps\/dashboards\/8bf3b39bd6b9423683b1d99e5bed7c7d\">https:\/\/www.arcgis.com\/apps\/dashboards\/8bf3b39bd6b9423683b1d99e5bed7c7d<\/a>"}],"related_articles":[{"ID":2270082,"post_author":"340172","post_date":"2024-03-11 08:00:07","post_date_gmt":"2024-03-11 15:00:07","post_content":"","post_title":"Announcing {arcgis}, an R package for ArcGIS Location Services","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"announcing-arcgis-r-package","to_ping":"","pinged":"","post_modified":"2025-07-22 12:05:50","post_modified_gmt":"2025-07-22 19:05:50","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2270082","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"1","filter":"raw"},{"ID":2294842,"post_author":"341472","post_date":"2024-04-02 14:21:24","post_date_gmt":"2024-04-02 21:21:24","post_content":"","post_title":"ArcGIS Geocoding Service - March Release Highlights","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"arcgis-geocoding-service-march-release-highlights","to_ping":"","pinged":"","post_modified":"2026-01-22 09:52:45","post_modified_gmt":"2026-01-22 17:52:45","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2294842","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}],"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/04\/geocode-card.jpg","wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/04\/geocode-banner.jpg","show_article_image":false},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Geocode from R using {arcgisgeocode}<\/title>\n<meta name=\"description\" content=\"Learn to geocode addresses with {arcgisgeocode}, a new R package in the {arcgis} metapackage by the R-ArcGIS Bridge.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Geocode from R using {arcgisgeocode}\" \/>\n<meta property=\"og:description\" content=\"Learn to geocode addresses with {arcgisgeocode}, a new R package in the {arcgis} metapackage by the R-ArcGIS Bridge.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-22T19:08:50+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode\"},\"author\":{\"name\":\"Martha Bass\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/c53191f40f02bfb63b6f0107fceee0ff\"},\"headline\":\"Geocode from R using {arcgisgeocode}\",\"datePublished\":\"2024-06-04T16:00:49+00:00\",\"dateModified\":\"2025-07-22T19:08:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode\"},\"wordCount\":5,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"ArcGIS Developer Community\",\"ArcGIS Geocoding Service\",\"Geocode\",\"Geocoding\",\"R-ArcGIS Bridge\"],\"articleSection\":[\"Announcements\",\"Developers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode\",\"name\":\"Geocode from R using {arcgisgeocode}\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2024-06-04T16:00:49+00:00\",\"dateModified\":\"2025-07-22T19:08:50+00:00\",\"description\":\"Learn to geocode addresses with {arcgisgeocode}, a new R package in the {arcgis} metapackage by the R-ArcGIS Bridge.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Geocode from R using {arcgisgeocode}\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/c53191f40f02bfb63b6f0107fceee0ff\",\"name\":\"Martha Bass\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f1833d3ccca7aa1c13005e3621a85247b3f9947ee6cbcc857a68e0a6c24546b0?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f1833d3ccca7aa1c13005e3621a85247b3f9947ee6cbcc857a68e0a6c24546b0?s=96&d=blank&r=g\",\"caption\":\"Martha Bass\"},\"description\":\"Martha Bass is a Product Engineer on the Spatial Statistics team at Esri.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/marthabass\/\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/mbass\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Geocode from R using {arcgisgeocode}","description":"Learn to geocode addresses with {arcgisgeocode}, a new R package in the {arcgis} metapackage by the R-ArcGIS Bridge.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode","og_locale":"en_US","og_type":"article","og_title":"Geocode from R using {arcgisgeocode}","og_description":"Learn to geocode addresses with {arcgisgeocode}, a new R package in the {arcgis} metapackage by the R-ArcGIS Bridge.","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2025-07-22T19:08:50+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode"},"author":{"name":"Martha Bass","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/c53191f40f02bfb63b6f0107fceee0ff"},"headline":"Geocode from R using {arcgisgeocode}","datePublished":"2024-06-04T16:00:49+00:00","dateModified":"2025-07-22T19:08:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode"},"wordCount":5,"commentCount":0,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["ArcGIS Developer Community","ArcGIS Geocoding Service","Geocode","Geocoding","R-ArcGIS Bridge"],"articleSection":["Announcements","Developers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode","name":"Geocode from R using {arcgisgeocode}","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2024-06-04T16:00:49+00:00","dateModified":"2025-07-22T19:08:50+00:00","description":"Learn to geocode addresses with {arcgisgeocode}, a new R package in the {arcgis} metapackage by the R-ArcGIS Bridge.","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Geocode from R using {arcgisgeocode}"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/c53191f40f02bfb63b6f0107fceee0ff","name":"Martha Bass","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f1833d3ccca7aa1c13005e3621a85247b3f9947ee6cbcc857a68e0a6c24546b0?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f1833d3ccca7aa1c13005e3621a85247b3f9947ee6cbcc857a68e0a6c24546b0?s=96&d=blank&r=g","caption":"Martha Bass"},"description":"Martha Bass is a Product Engineer on the Spatial Statistics team at Esri.","sameAs":["https:\/\/www.linkedin.com\/in\/marthabass\/"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/mbass"}]}},"text_date":"June 4, 2024","author_name":"Multiple Authors","author_page":"https:\/\/www.esri.com\/arcgis-blog\/products\/developers\/announcements\/geocode-from-r-using-arcgisgeocode","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/04\/geocode-banner.jpg","primary_product":"Developers","tag_data":[{"term_id":39801,"name":"ArcGIS Developer Community","slug":"arcgis-developer-community","term_group":0,"term_taxonomy_id":39801,"taxonomy":"post_tag","description":"","parent":0,"count":21,"filter":"raw"},{"term_id":774182,"name":"ArcGIS Geocoding Service","slug":"arcgis-geocoding-service","term_group":0,"term_taxonomy_id":774182,"taxonomy":"post_tag","description":"","parent":0,"count":17,"filter":"raw"},{"term_id":32391,"name":"Geocode","slug":"geocode","term_group":0,"term_taxonomy_id":32391,"taxonomy":"post_tag","description":"","parent":0,"count":5,"filter":"raw"},{"term_id":25091,"name":"Geocoding","slug":"geocoding","term_group":0,"term_taxonomy_id":25091,"taxonomy":"post_tag","description":"","parent":0,"count":30,"filter":"raw"},{"term_id":31611,"name":"R-ArcGIS Bridge","slug":"r-arcgis-bridge","term_group":0,"term_taxonomy_id":31611,"taxonomy":"post_tag","description":"","parent":0,"count":15,"filter":"raw"}],"category_data":[{"term_id":37101,"name":"Announcements","slug":"announcements","term_group":0,"term_taxonomy_id":37101,"taxonomy":"category","description":"","parent":0,"count":1962,"filter":"raw"},{"term_id":738191,"name":"Developers","slug":"developers","term_group":0,"term_taxonomy_id":738191,"taxonomy":"category","description":"","parent":0,"count":422,"filter":"raw"}],"product_data":[{"term_id":36571,"name":"ArcGIS Enterprise","slug":"arcgis-enterprise","term_group":0,"term_taxonomy_id":36571,"taxonomy":"product","description":"","parent":0,"count":972,"filter":"raw"},{"term_id":761642,"name":"ArcGIS Location Platform","slug":"platform","term_group":0,"term_taxonomy_id":761642,"taxonomy":"product","description":"","parent":36601,"count":213,"filter":"raw"},{"term_id":36551,"name":"ArcGIS Online","slug":"arcgis-online","term_group":0,"term_taxonomy_id":36551,"taxonomy":"product","description":"","parent":0,"count":2424,"filter":"raw"},{"term_id":36861,"name":"ArcGIS REST API","slug":"api-rest","term_group":0,"term_taxonomy_id":36861,"taxonomy":"product","description":"","parent":36601,"count":75,"filter":"raw"},{"term_id":36601,"name":"Developers","slug":"developers","term_group":0,"term_taxonomy_id":36601,"taxonomy":"product","description":"","parent":0,"count":763,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=developers","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2319572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/340172"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=2319572"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2319572\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=2319572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=2319572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=2319572"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=2319572"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=2319572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}