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

load_worldpop_by_country #59

Open
Hanmeng-Xu opened this issue Aug 18, 2022 · 0 comments
Open

load_worldpop_by_country #59

Hanmeng-Xu opened this issue Aug 18, 2022 · 0 comments
Labels
unit-test Issue related to ocvImpact unit testing

Comments

@Hanmeng-Xu
Copy link
Collaborator

#' @name load_worldpop_by_country
#' @title load_worldpop_by_country
#' @description Load worldpop population raster for a country
#' @param datapath path to data
#' @param country country code
#' @return population raster
#' @export
#' @include load_shapefile_by_country.R

  1. the extents of the returned pop raster and the country shapefile shp should be the same;
  2. if the extents of the returned pop raster and the country. shapefile are not the same, the function should return an error message.
@Hanmeng-Xu Hanmeng-Xu added the unit-test Issue related to ocvImpact unit testing label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unit-test Issue related to ocvImpact unit testing
Projects
None yet
Development

No branches or pull requests

1 participant