Learn R Programming

atpolR

ATPOL grid implementation in R

Copy Link

Version

Install

install.packages('atpolR')

Monthly Downloads

259

Version

0.1.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Grzegorz Sapijaszko

Last Published

September 5th, 2022

Functions in atpolR (0.1.1)

check_atpol_square

Reverse engineering of published ATPOL grids
atpol_div

atpol_div creates ATPOL grid divided by 2, 4 or 5 (based on divider parameter) and returns it as sf object. Useful for grids like 5 x 5 km (divider = 2), 250 x 250 m (divider = 4) or 20 x 20 m (divider = 5). For details see vereyStandaryzacjaZapisuPodzialow2018;textualatpolR
atpol1k

atpol1k creates ATPOL grid 1km x 1km and returns it as sf object
plotPoitsOnAtpol

plotPoitsOnAtpol() plots the observations on ATPOL 10km x 10km grid
latlon_to_grid

latlon_to_grid(lat, lon, length) converts geographical coordinates to ATPOL grid of given length
atpol10k

atpol10k returns ATPOL grid 10x10 km and returns it as sf object
boundaryPL

boundaryPL reads the file data/pl_boundary.Rds with simplified boundary geometry.
grid_to_latlon

grid_to_latlon converts the ATPOL grid to latitude and longitude. With xoffset = 0 and yoffset = 0 parameters it returns coordinates of the upper left corner of the grid.
atpol100k

atpol100k creates ATPOL grid 100km x 100km and returns it as sf object