GithubHelp home page GithubHelp logo

sskagemo / using-opendata-from-brreg-no Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 61.96 MB

Notebooks showing how to search and download data from the Brønnøysund Register Centre, using Python with requests and pandas.

Jupyter Notebook 97.28% Python 2.72%

using-opendata-from-brreg-no's Introduction

Binder

A set of examples for how to use open data from BR with Python

WARNING: The examples are developed as part of enhancing my understanding of the content of the used registries, as well as the functionality of the APIs, and there might be misunderstandings and examples of bad practices. Please refer to the official documentation of the relevant registries found at https://www.brreg.no/produkter-og-tjenester/apne-data/

Click on Binder to have this repository opened for editing and execution using the service https://mybinder.org/ (does not require registration or account).

This repository contains three notebooks

  • example using data from the search API
  • example using data from full dump of data as JSON
  • example using data from full dump of data as spreadsheet (xlsx)

Currently, for accessing a full dump of the National Coordination Registry for Legal Entities, you can choose between two formats, i.e. JSON, with the same structure as when using the search-API, or spreadsheet (*.xlsx). As the spreadsheet format is very slow to read with pandas, this repository also comes with a *.csv version of the dataset. This is not updated on a daily basis, but can be used to explore the dataset. The code for downloading and converting from xlsx to csv is available in these notebooks.

In addition to traditional Jupyter Notebooks, this repository also includes a *.py-file that supports the "interactive mode" in the editor VS Code. This gives a way of running individual cells of code, similar to the notebooks, but with a plain *.py file which has better support for versioning with git. This can be a good alternative for exploring the dataset, when the purpose is to create a script or part of an application, and not a Notebook.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.