powered by
Check if a month number is valid for a given nightlight type. Note month num is only valid for "VIIRS" nightlight type
validCtryCode(ctryCode)
the ISO3 country code to validate
TRUE/FALSE
# NOT RUN { validCtryCode("KEN") # } # NOT RUN { #returns TRUE # } # NOT RUN { validCtryCode("UAE") # } # NOT RUN { #returns FALSE. "United Arab Emirates" ISO3 code = "ARE" # }
Run the code above in your browser using DataLab