OpenRefine extension to load CSV files from a local environment. When OpenRefine is hosted the extension allow the user to create a project using file on the local samba file system. It will avoid user to upload file from their local machine over Internet. The extension is tested with OpenRefine 3.3. The default location is the Download folder from the home user directory.
- Java 1.8.*
- Maven 3.* (mvn)
- Execute
mvn package assembly:single - Extension will be located into
target/local-file-system-1.0.2.zip
- Extract the
local-file-system-1.0.2.zipinto the OpenRefine folderwebapp/extensions - Run OpenRefine and you can start a new project form the
Workspace Datatab
- In the OpenRefine installation folder locate file
refine.ini - Open file and add the environment variable
EXT_LOCAL_FILE_SYSTEMwith the folder location value. Example:EXT_LOCAL_FILE_SYSTEM=/data/files- For Windows OS use the
refine.batto start OpenRefine, additional configuration inrefine.iniwon't be loaded using theopenrefine.exeexecutable. ExampleEXT_LOCAL_FILE_SYSTEM=C:\\Users\\Home\\Desktop
- For Windows OS use the
- Another option is add the environment variable to any Shell script that start OpenRefine. Example:
export EXT_LOCAL_FILE_SYSTEM=/data/filesNote: If you don't see any files from the defined location verify that the folder is a valid location in your environment and files are with valid READ permissions.
- Use the docker image from RefinePro/OpenRefine_Docker