I'm fairly new to GIS.
I'm using QGIS to overlay a vector grid on my map and getting data on different attributes within each box of the grid. I need to do this for different grid sizes hence there will be some repetition. So to make this efficient I wanted to write a PyQGIS script to run a loop to do this. However, I'm new PyQGIS too and am not familiar with the commands (or the library itself).
Is there a way to get the PyQGIS code when I implement something from the QGIS GUI?
In case someone is familiar with STATA, I'm looking for something analogous to getting the STATA code when you use the point-and-click method to run a command.