====== **Geocoding! ** ====== In R, you can use package/library ''tidygeocoder'' to convert participant addresses to latitude and longitude coordinates. Example code: ### CONVERT PARTICIPANT ADDRESSES TO LATITUDES AND LONGITUDES (tidygeocoder) ### SPA7T.child.addresses <- SPA7T_child %>% geocode(address = full.address, method = "census", mode = "single", verbose = TRUE, full_results = TRUE) For some cases, addresses might not be matched with tidygeocoder. If this happens, you can manually geocode using the following Geocoding API: [[https://developers.google.com/maps/documentation/geocoding/guides-v3/overview]] Navigate to the map given and type in a address: {{.:pasted:20260423-124653.png}} **EXAMPLE, Using the Lab's Address:** {{.:pasted:20260423-124858.png}} you can grab the latitude, longitude datapoints and write them in. **__Note:__** some cases may appear as a **partial match** so just be mindful of how to use (example: ''Bronx, NY'') -- usually occurs when there is no full address provided. {{.:pasted:20260423-125350.png}} Very awesome reference! Dr. Sydnor's code: https://github.com/LabNeuroCogDevel/hippocampal_myelination/blob/main/environment/7T_MP2RAGE/geocoding_ADI_COI_youthaddresses.R