You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
Hi,
The argument fill_gaps of povcalnet() is described as "logical: 'TRUE' will interpolate / extrapolate values when surveys are not available for a specific year." However, no interpolated result (poverty headcount/gini etc) is returned when this argument is TRUE. I requested data for all countries with fill_gaps==TRUE and got a returned dataframe with a variable isinterpolated. It turns out that isinterpolated is always 0 (indicates no interpolation), and the total amount of data is equal to that with fill_gaps==FALSE.
Is there a mistake in this function or something I have misunderstood?
Really need the interpolated data (or methodology). Thanks in advance.
The text was updated successfully, but these errors were encountered:
Thanks for your patience on this. I was on leave, and just saw your message. The fill_gaps argument seems to be working fine.
Running df <- povcalnet(fill_gaps = FALSE) returns a 1962 observations, while df <- povcalnet(fill_gaps = TRUE) returns 2671 observations.
The isinterpolated variable is misleading, and its behavior will be updated in a future release. Please ignore it for now.
Hope that helps!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
The argument
fill_gaps
ofpovcalnet()
is described as "logical: 'TRUE' will interpolate / extrapolate values when surveys are not available for a specific year." However, no interpolated result (poverty headcount/gini etc) is returned when this argument isTRUE
. I requested data for all countries withfill_gaps==TRUE
and got a returned dataframe with a variableisinterpolated
. It turns out thatisinterpolated
is always0
(indicates no interpolation), and the total amount of data is equal to that withfill_gaps==FALSE
.Is there a mistake in this function or something I have misunderstood?
Really need the interpolated data (or methodology). Thanks in advance.
The text was updated successfully, but these errors were encountered: