Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to transform data frame to coordinates matching map #21

Closed
pdil opened this issue Aug 8, 2019 · 0 comments
Closed

Add function to transform data frame to coordinates matching map #21

pdil opened this issue Aug 8, 2019 · 0 comments
Assignees
Labels
enhancement A suggestion or feature that improves existing functionality

Comments

@pdil
Copy link
Owner

pdil commented Aug 8, 2019

The function would take a data frame as input that contains two columns, the first representing longitude and the second representing latitude (column names don't matter).

The output will be a data frame containing the same data frame/coordinates except with the canonical usmap projection applied to it:

CRS("+proj=laea +lat_0=45 +lon_0=-100 +x_0=0 +y_0=0 +a=6370997 +b=6370997 +units=m +no_defs")

Function name: usmap_proj

Related issue: #13

@pdil pdil added the enhancement A suggestion or feature that improves existing functionality label Aug 8, 2019
@pdil pdil self-assigned this Aug 8, 2019
@pdil pdil closed this as completed in 64c2944 Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A suggestion or feature that improves existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant