Skip to content

balakzde/public-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 

Repository files navigation

public-contracts

About project

This project is dedicated to extracting data about public contracts in Czech Republic.

On this page can be found urls to every valid submitter of public contracts.

Adding "/XMLdataVZ?od=DDMMYYY&do=DDMMYYY" will result in xml representation of submitter and his public contracts in selected period. Here is xsd schema for previous xml.

Before you run this app, you need to make following steps:

  1. You need to have postgres installed
  2. create new database in postgres and run init.sql on it (instead of running init.sql, you can use command reload-db when starting app)
  3. change values in public-contracts.properties to your values:
  • db.target.server=server
  • db.target.port=port
  • db.target.database=database name
  • db.target.user=database user
  • db.target.pass=user password

How to run app:

You have to run the app with following arguments:

  • reload-db - drops all tables from database and creates schema (Use this only to init db or you can loose collected data)
  • reload-sources - deletes and reloads urls of submitters (ETA 20 minutes)
  • delete-collected-data [yyyy] - delete all collected data except sources with urls, [yyyy] is optional and is used to delete data only for that year
  • yyyy - e.g. '2015' - search and save data for all submitters for 2015
  • reload-errors yyyy - tries to collect data that failed before

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages