This Chapter provides guidance on collecting spatial data in surveys and experiments (Section 3.1), wrangling the data into files and reading it into R (Sections 3.2 and 3.9-3.10), handling the data in spatstat as a point pattern (Section 3.3), checking for data errors (Section 3.4), and creating a spatial window (Section 3.5), a pixel image (Section 3.6), a line segment pattern (Section 3.7), or a collection of spatial objects (Section 3.8).