fennicahub / fennica

R tools for Fennica (Finnish national bibliography)
http://fennica-fennica.rahtiapp.fi
Other
0 stars 5 forks source link

Remove the dependency to COMHIS #34

Closed NRV2ouf closed 1 year ago

NRV2ouf commented 1 year ago
  1. Updated inst/examples/init.R to remove the comhis depency and update the documentation.
  2. Copied the file harmonize_field_names.R from comhis to fennica::R.
  3. Regenerated the file NAMESPACE using roxygen so the function is added to the package.
  4. Changed a line from the function which specified the name of the repository and imported the file inst/extdata/fieldnames.csv somehow required by the new function

Now both inst/examples/init.R and inst/examples/main.R work without the comhis package. (I was told that it was enough to ensure that the project )