library(sf)
Warning: package 'sf' was built under R version 4.3.1
Linking to GEOS 3.11.0, GDAL 3.5.3, PROJ 9.1.0; sf_use_s2() is TRUE
library(tmap)
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
library(sf)
Warning: package 'sf' was built under R version 4.3.1
Linking to GEOS 3.11.0, GDAL 3.5.3, PROJ 9.1.0; sf_use_s2() is TRUE
library(tmap)
You can add options to executable code like this
<- st_read('counties.geojson') cty
Reading layer `counties' from data source
`/Users/chrisbrunsdon/Library/CloudStorage/Dropbox/climate_change/Time Series etc Module/Intro Stats Part 2023/counties.geojson'
using driver `GeoJSON'
Simple feature collection with 40 features and 2 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: 17528.59 ymin: 19537.25 xmax: 366403.6 ymax: 466923.2
Projected CRS: TM65 / Irish Grid
tmap_mode('view')
tmap mode set to interactive viewing
tm_shape(cty) + tm_polygons()
The echo: false
option disables the printing of code (only output is displayed).