Skip to content

Latest data about every Estonian company and associated persions in SQLite database

Notifications You must be signed in to change notification settings

karelnagel/avaandmed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Estonian Companies and Persons Data

Latest data about every Estonian company and associated persons in one SQLite database. The data is gathered from many public sources like this. The database is automatically regenerated every day, and the latest version is available for download here, or if you'd like to automate the process, you can use the download.sh script or the following command:

curl -s https://api.github.com/repos/karelnagel/avaandmed/releases/latest | jq -r '.assets[0].browser_download_url' | xargs -I {} curl -s -L {} | gunzip -c > out.db

Parser usage

Parser is written in Go, so you need to have Go installed.

go install
go run main.go

options:

  -batch int
     Batch size (default 600)
  -fail-quietly
     Fail quietly
  -force-download
     Force downloading the latest data again, eg. it deletes the data directory
  -sources string
     Sources to process (comma separated) (default "yldandmed,kaardile_kantud,kandevalised,kasusaajad,osanikud,majandusaasta,emta,debt,lihtandmed")
  -sqlite string
     Path to the SQLite database (default "out.db")

About

Latest data about every Estonian company and associated persions in SQLite database

Resources

Stars

Watchers

Forks

Packages

No packages published