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

Fix st_length (should be st_distance) #2

Open
ldemaz opened this issue Feb 28, 2020 · 0 comments
Open

Fix st_length (should be st_distance) #2

ldemaz opened this issue Feb 28, 2020 · 0 comments
Assignees
Labels

Comments

@ldemaz
Copy link
Member

ldemaz commented Feb 28, 2020

5. Convert the `median_dist` to its centroid point. Call it `median_distp`. `filter` the `farmers_alb` data for season 1, and then find the 20 closest season 1 farmers to `median_distp`. To do that, create the new object `closest_20farmers` by using `mutate` with `st_length` to create a new variable `length` (convert it to numeric), and then `arrange` by variable *length* and slice out the top 20 observations. Plot `districts_alb` in grey, `median_dist` over that in khaki, `median_distp` as a solid purple circle, `farmers_alb` in blue, and `closest_20farmers` in red. Zero margins and width of 6 inches and height of 4 inches.

@ldemaz ldemaz added the bug label Feb 28, 2020
@ldemaz ldemaz self-assigned this Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant