Creating-maps-in-R

(★ 571)

Introductory tutorial on graphical display of geographical information in R.

File Explorer

  • .gitignore
  • bradforddata.txt
  • citation.bib
  • Creating-maps-in-R.Rproj
  • intro-spatial-rl.pdf
  • movie.txt
  • myscript.R
  • r-spatial-ref-card.pdf
  • README.md
  • README.Rmd
  • spatial-data.md
  • spatial-data.Rpres
  • stplanr-example.md
  • vspd-pres.Rmd
  • wyoming.geojson

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

join

View Details ▼

Join lines of two sorted files on a common field.

join {{path/to/file1}} {{path/to/file2}}

Join two files on the first (default) field:

join -t ',' {{path/to/file1}} {{path/to/file2}}

Join two files using a comma (instead of a space) as the field separator:

join -1 {{3}} -2 {{1}} {{path/to/file1}} {{path/to/file2}}

Join field3 of file1 with field1 of file2:

🔍

tidy

View Details ▼

Clean up and pretty print HTML, XHTML, and XML files.
Note: `tidy` cannot preserve original indentation.

tidy {{path/to/file.html}}

Pretty print an HTML file:

tidy {{[-i|--indent]}} y {{[-w|--wrap]}} 100 {{[-o|-output]}} {{path/to/output.html}} {{path/to/file.html}}

Enable indentation, wrapping lines in 100, saving to `output.html`:

tidy -config {{path/to/configuration}} {{[-m|-modify]}} {{path/to/file.html}}

Modify an HTML file in-place using a configuration file:

🔍

col

View Details ▼

Filter reverse line feeds from input.

{{command}} | col

Filter reverse line feeds from input:

{{command}} | col {{[-x|--spaces]}}

Filter reverse line feeds and output with spaces instead of tabs:

{{command}} | col {{[-b|--no-backspaces]}}

Remove backspaces, output only the last character written to each position:

// repository documentation