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

get_sinim() no acepta solicitudes que contengan el año 2022 #7

Open
bastianolea opened this issue Nov 9, 2023 · 0 comments
Open

Comments

@bastianolea
Copy link

Al realizar una solicitud de datos, get_sinim() arroja error si el rango de años contiene 2022, a pesar de que los datos de SINIM para 2022 sí existen. Por ejemplo: superficie_areas_verdes <- get_sinim(512, 2019:2022, moncorr = FALSE, truevalue = FALSE) retorna Error in getyear(years) : Year not found in list. La solución es simplemente agregar el año 2022 a la lista de años de la función getyear(): para solucionarlo el usuario puede aplicar fixInNamespace(predict.ar, pos="package:stats") y hacer la modificación a la función, y en consecuencia, get_sinim() entregará correctamente los datos para los años especificados, incluyendo 2022.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant