ropensci-archive / scrubr

:warning: ARCHIVED :warning: Clean species occurrence records
Other
34 stars 10 forks source link

Removing data based on political centroids #6

Closed sckott closed 2 years ago

sckott commented 9 years ago

Perhaps the maps package world.cities dataset

head(world.cities)
#>                 name country.etc   pop   lat  long capital
#> 1 'Abasan al-Jadidah   Palestine  5629 31.31 34.34       0
#> 2 'Abasan al-Kabirah   Palestine 18999 31.32 34.35       0
#> 3       'Abdul Hakim    Pakistan 47788 30.55 72.11       0
#> 4 'Abdullah-as-Salam      Kuwait 21817 29.36 47.98       0
#> 5              'Abud   Palestine  2456 32.03 35.07       0
#> 6            'Abwein   Palestine  3434 32.03 35.20       0

NROW(world.cities)
#> [1] 43645

Has lots of cities, could use that

sckott commented 8 years ago

draft function in pkg, commented out for now

jatinrajani commented 7 years ago

Hi @sckott can i work on this issue.

sckott commented 7 years ago

@jatinrajani Sure, PR please - let me know if you have any questions

jatinrajani commented 7 years ago

Thanx @sckott i have started working.

jatinrajani commented 7 years ago

@sckott Political centroids means capital of countries?Just to confirm

sckott commented 7 years ago

or cities or counties - any political polygon