musajajorge / CINE

It's a package that contains a function that uses lemmatization to classify educational programs according to CINE (Classification International Normalized of Education) for Peru.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CINE

errero Open Source Love Project-Status:Active LinuxMint CRAN-status Downloads

CINE is a package that uses the lemmatization of educational terms to classify educational programs according to the CINE (Classification International Normalized of Education) for Peru published by INEI.

Installation ⏬

Install CINE from CRAN:

install.packages("CINE")

or install CINE with

library(remotes)
install_github("musajajorge/CINE")

Usage 💪

Creating a dataframe

df <- data.frame(c("Administración de Negocios Internacionales",
"Ingeniería de Telecomunicaciones",
"Ingeniería Geográfica",
"Psicología Organizacional y de la Gestión Humana",
"Educación Secundaria Especialidad Lengua y Literatura",
"Educación Secundaria, Mención en: Ciencias Matemáticas",
"Ciencias de la Comunicación con Especialidad en Periodismo",
"Ingeniería Pesquera",
"Medicina Humana",
"Medicina Veterinaria",
"Carrera de Economía",
"Radiología",
"Biología - Microbiología",
"Marketing y Negocios Internacionales",
"Tecnología Médica con Especialidad en Laboratorio Clínico"))

colnames(df) <- "ProgramaEducativo"

df <- cine(df=df, EducationProgram="ProgramaEducativo", filterBy='PRF')

print(df)

Importing a dataframe

For this example, the list of professional level educational programs published by SUNEDU in TUNI has been used.

library(readxl)
url <- "https://github.com/musajajorge/CINE/raw/main/imgs/SUNEDU.xlsx"
destfile <- "SUNEDU.xlsx"
curl::curl_download(url, destfile)
df <- read_excel(destfile)

df <- cine(df=df, EducationProgram="PROGRAMA_NOMBRE", filterBy='PRF')

The result can be exported with:

library(openxlsx)
write.xlsx(df, "exportar.xlsx")

About

It's a package that contains a function that uses lemmatization to classify educational programs according to CINE (Classification International Normalized of Education) for Peru.


Languages

Language:R 100.0%