O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

Perform the following steps to analyze spatial data with R and QGIS:

  1. Load the airport data in the QGIS interface by navigating to Layer | Add Layer | Add Vector Layer... and browse the airport.dbf file:
  1. Now we can visualize the airport data:
  1. Check the attributes by right-clicking over the airports file and then click on Open Attribute Table from the QGIS layer panel:
  1. Navigate to the processing toolbox panel and click on  ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required