Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cvrminer
examples
notebooks
.gitattributes
.gitignore
LICENSE
MANIFEST.in
README.rst
app.py
requirements.txt
setup.cfg
setup.py
tox.ini
versioneer.py

README.rst

CVR miner

Data mining of CVR

Examples

>>> from cvrminer.cvrfile import CvrFile
>>> from cvrminer.virksomhed import Virksomhed
>>> filename = '/home/fnielsen/data/cvr/cvr-permanent.json'  # or whatever
>>> data = next(CvrFile(filename))
>>> virksomhed = Virksomhed(data)
>>> virksomhed.antal_ansatte
0
>>> cvr_file = CvrFile(filename)
>>> cvr_file.write_virksomhed_features_file()   # and wait