Is there an API for crime in the US? - socrata

As the question title states, I need the crime data from all the united states. I can't find a dataset for that, only numerous small ones for the different cities and countrysides.
Is there such a united API or should I maintain these small ones as well ?

There is currently no single open dataset or API (Socrata maintained or otherwise) that covers the US completely. Many cities publish crime reports to their open data portals, but the coverage is still pretty sparse.
There's also the FBI Uniform Crime Reporting datasets, but those are aggregated at the city level (which again is somewhat sparse) and the most recent data is a partial update from the first half of 2015.

Related

Can I apply different styles to columns in column-count?

Is there any way to add different styles for columns made with column-count? I have a div which is divided into multiple columns using column-count. At a time only two columns are visible on page. I need to add margin-left to the first column and margin-right for the second column and so on.
What I need is the same spacing on both (outer and inner) sides of the pages just like book.
.main {
overflow: scroll;
width: 100%;
height: 438px;
column-gap: 160px;
columns: 2 auto;
column-fill: auto;
margin-top: 5px;
}
<div class="main">
Wikidata is a free, collaborative, multilingual, secondary database, collecting structured data to provide support for Wikipedia, Wikimedia Commons, the other wikis of the Wikimedia movement, and to anyone in the world. What does this mean? Let's look
at the opening statement in more detail: Contents 1 What does this mean? 2 How does Wikidata work? 2.1 The Wikidata repository 2.2 Working with Wikidata 3 Where to get started 4 How can I contribute? 5 There is more to come Free. The data in Wikidata
is published under the Creative Commons Public Domain Dedication 1.0, allowing the reuse of the data in many different scenarios. You can copy, modify, distribute and perform the data, even for commercial purposes, without asking for permission. Collaborative.
Data is entered and maintained by Wikidata editors, who decide on the rules of content creation and management. Automated bots also enter data into Wikidata. Multilingual. Editing, consuming, browsing, and reusing the data is fully multilingual. Data
entered in any language is immediately available in all other languages. Editing in any language is possible and encouraged. A secondary database. Wikidata records not just statements, but also their sources, and connections to other databases. This
reflects the diversity of knowledge available and supports the notion of verifiability. Collecting structured data. Imposing a high degree of structured organization allows for easy reuse of data by Wikimedia projects and third parties, and enables
computers to process and “understand” it. Support for Wikimedia wikis. Wikidata assists Wikipedia with more easily maintainable information boxes and links to other languages, thus reducing editing workload while improving quality. Updates in one language
are made available to all other languages. Anyone in the world. Anyone can use Wikidata for any number of different ways by using its application programming interface. How does Wikidata work? This diagram of a Wikidata item shows you the most important
terms in Wikidata. Wikidata is a central storage repository that can be accessed by others, such as the wikis maintained by the Wikimedia Foundation. Content loaded dynamically from Wikidata does not need to be maintained in each individual wiki project.
For example, statistics, dates, locations and other common data can be centralized in Wikidata. The Wikidata repository Items and their data are interconnected. The Wikidata repository consists mainly of items, each one having a label, a description
and any number of aliases. Items are uniquely identified by a Q followed by a number, such as Douglas Adams (Q42). Statements describe detailed characteristics of an Item and consist of a property and a value. Properties in Wikidata have a P followed
by a number, such as with educated at (P69). For a person, you can add a property to specifying where they were educated, by specifying a value for a school. For buildings, you can assign geographic coordinates properties by specifying longitude and
latitude values. Properties can also link to external databases. A property that links an item to an external database, such as an authority control database used by libraries and archives, is called an identifier. Special Sitelinks connect an item
to corresponding content on client wikis, such as Wikipedia, Wikibooks or Wikiquote. All this information can be displayed in any language, even if the data originated in a different language. When accessing these values, client wikis will show the
most up-to-date data. Item Property Value Q42 P69 Q691283 Douglas Adams educated at St John's College Working with Wikidata There are a number of ways to access Wikidata using built-in tools, external tools, or programming interfaces. Wikidata Query
and Reasonator are some of the popular tools to search for and examine Wikidata items. The tools page has an extensive list of interesting projects to explore. Client wikis can access data for their pages using a Lua Scribunto interface. You can retrieve
all data independently using the Wikidata API. Where to get started The Wikidata tours designed for new users are the best place to learn more about Wikidata. Some links to get started: Set your user options, especially the 'Babel' extension, to choose
your language preferences Help with missing labels and descriptions Help with interwiki conflicts and constraint violations Improve a random item Help translating How can I contribute? Go ahead and start editing. Editing is the best way to learn about
the structure and concepts of Wikidata. If you would like to gain understanding of Wikidata's concepts upfront, you may want to have a look at the help pages. If you have questions, please feel free to drop them in the project chat or contact the development
team. There is more to come Wikidata is an ongoing project that is under active development. More data types as well as extensions will be available in the future. You can find more information about Wikidata and its ongoing development on the Wikidata
page on Meta. Subscribe to the the Wikidata mailing list to receive up-to-date information about the development and to participate in discussions about the future of the project. North Korea conducted its sixth nuclear test on 3 September 2017, according
to Japanese and South Korean officials. The Japanese Ministry of Foreign Affairs also concluded that North Korea conducted a nuclear test.[6] The United States Geological Survey reported an earthquake of 6.3-magnitude not far from North Korea's Punggye-ri
nuclear test site.[7] South Korean authorities said the earthquake seemed to be artificial, consistent with a nuclear test.[6] The USGS, as well as China's earthquake administration, reported that the initial event was followed by a second, smaller,
earthquake at the site, several minutes later, which was characterized as a collapse of the cavity.[8][9] North Korea claimed that it detonated a hydrogen bomb that can be loaded on to an intercontinental ballistic missile (ICBM) with great destructive
power.[10] Photos of North Korean leader Kim Jong-un inspecting a device resembling a thermonuclear weapon warhead were released a few hours before the test.[11] Contents 1 Yield estimates 2 Reactions 3 See also 4 References Yield estimates According
to estimates of Kim Young-Woo, the chief of the South Korean parliament's defense committee, the nuclear yield was equivalent to about 100 kilotons of TNT (100 kt). "The North's latest test is estimated to have a yield of up to 100 kilotons, though
it is a provisional report," Kim Young-Woo told Yonhap News Agency.[2] On 3 September, South Korea’s weather agency, the Korea Meteorological Administration, estimated that the nuclear blast yield of the presumed test was between 50 to 60 kilotons.[3]
On 4 September, the academics from University of Science and Technology of China[12] have released their findings based on seismic results and concluded that the Nuclear Test Location is at 41°17′53.52″N 129°4′27.12″E on 03:30 UTC which is only a few
hundred meters apart from the previous 4 tests (2009, 2013, January 2016 and September 2016) with the estimated yield at 108.1 ± 48.1 kt. In contrast, the independent seismic monitoring agency NORSAR estimated that the blast had a yield of about 120
kilotons, based on a seismic magnitude of 5.8.[4] The Federal Institute for Geosciences and Natural Resources in Germany estimates a higher yield at "a few hundred kilotons" based on a detected tremor of 6.1 magnitude.[5] Reactions South Korea, China,
Japan, Russia and members of the ASEAN[13] voiced strong criticism of the nuclear test.[14] US President Donald Trump tweeted "North Korea has conducted a major Nuclear Test. Their words and actions continue to be very hostile and dangerous to the United
States".[15][16] Trump was asked whether the US would attack North Korea and replied, "We'll see".[17] On September 3, U.S. Defense Secretary James Mattis warned North Korea, saying that the country would be met with a "massive military response" if
it threatened the United States or its allies.[18] The United Nations Security Council will meet in an open emergency meeting on September 4, 2017 at the request of the US, South Korea, Japan, France and the UK.[19] Federal Institute for Geosciences
and Natural Resources From Wikipedia, the free encyclopedia (Redirected from Bundesanstalt für Geowissenschaften und Rohstoffe) Federal Institute for Geosciences and Natural Resources Bundesanstalt für Geowissenschaften und Rohstoffe (BGR) Agency overview
Headquarters Hanover, Germany Employees 795 in 2013 Website www.bgr.bund.de The Federal Institute for Geosciences and Natural Resources (Bundesanstalt für Geowissenschaften und Rohstoffe or BGR) is a German agency within the Federal Ministry of Economics
and Technology. It acts as a central geoscience consulting institution for the German federal government.[1] The headquarters of the agency is located in Hanover and there is a branch in Berlin. Early 2013, the BGR employed a total of 795 employees.
The BGR, the State Authority for Mining, Energy and Geology and the Leibniz Institute for Applied Geophysics form the Geozentrum Hanover. All three institutions have a common management and infrastructure, and complement each other through their interdisciplinary
expertise.
</div>
Here is the JSFiddle for testing link

Is it possible to obtain the coordinates of water bodies in Google Maps?

I'm in need of acquiring the coordinates of the outlines of all the water bodies inside a country, with the exception of "Sea" or "Ocean" water. Right now, I'm manually outlining the lakes and rivers but it is not a sustainable solution for the magnitude of the application I'm developing.
Even if I can only obtain the data of Lakes or Rivers, that would be a great start. I'm specifically interested in the countries of Malaysia, Brazil and the Dominican Republic.
My situation brings me to the question of, where does Google obtain its data? Are these data sets available?
Google gets this data usually from TomTom, (former TeleAtlas).
The coordinate polygons of that data is not available, at least not without paying much money.
This data is usually extracted from aerial fotos.
For research projects it might be possible to ask TomTom via your University.
An alternative professional quality source is the product NavStreets from Here (former Nokia).
For free you could try OpenStreetMap. You would get coordinates.
Unfortunateley the OpenStreetMap data is not always clean or closed polygons.
The quality depens much on the country. You can check the countries
first by looking in the web browser: https://www.openstreetmap.org/relation/57963
Geofabrik.de provides OpenStreetMap data converisons and extractions of specific countries, e.g in pbf and shp file format, you might check this to.
read further here:
http://wiki.openstreetmap.org/wiki/Waterways

Is it safe to combine data for zipcodes across different demographic sets?

My team is working with demographics data across different data sources (some paid sources and some free data sources available online). Each of these data sources comes with a shape file and some attributes associated with each demographic area and could be defined across different cuts of time. However, when we display these attributes to our end users, we wanted to abstract the multiple datasources concept and show zip codes as a single demographic unit. We were planning to combine the attributes of all the datasources into one single datasource and point that to one of the shape files (For the time being, we are willing to look past issues related to granularity or precision in the definition of polygon across these datasoures. However, should we be concerned that the zip code to actual geographic area might not be consistent across demographics datasources taken across different cuts in time? E.g. ZipCode 12345 used to Map to an area in State A till 2010 but points to an area in State B for all datasets after 2010?
This question was cross-posted on gis.stackexchange and was answered there (ref https://gis.stackexchange.com/questions/182790/is-it-safe-to-combine-data-for-zipcodes-across-different-demographic-sets)
There is a concern that we might be misrepresenting the data by making the assumption that the zipcode always maps to the same physical area and hence it would not be a good idea to combine datasources without running some tool that can map the data based on physical areas and not names of the zip code

What "other features" could be incorporated into a train database?

This is a mini project for DBMS course. My task is to develop a Database for management of passenger trains.
I'm designing tables for Customers, Trains, Ticket Booking (via Telephone & Internet), Origins and Destinations.
He said, we are free to incorporate other features in our Database Model. Some of the features that we can include are as listed:
Ad-hoc Querying
Data Mining
Demographic Passenger Mapping
Origin and Destination Mapping
I've no clue about what these features mean. I know about datamining but unable to apply it in this context. Can any one kindly expand these features or suggest new ideas?
EDIT: What is Ad-hoc Querying? Give an example in this context.
Data mining would incorporate extracting useful facts/figures out of the data obtained by your system & stored in the database. For example, data mining might discover that trains between city x and y are always 5 minutes late, or is never at more than 50% capacity, etc. So you may wish to develop some tools or scripts that automatically run and generate statistics (graphs are best) which display this information and highlight unusual trends. In the given example, the schedulers could then analyse why the trains are always late (e.g., maybe the train speedos are wrong?).
Both points 3. and 4. are a subset of data mining imo. There is a huge amount of metrics you could try to measure, it is just really whatever you can think of. If you specify what type of data you are going to collect, that will make making suggestions easier.
Basically, data mining just means "sort the data to find interesting facts".
Based on comment below you could look for,
% of internet vs. phone sales
popular destinations & origins
customers age/sex/location
usage vs. time of day
...

How are Google maps formed? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
How are Google maps formed? Are they based on satellite image solely? How are locations and places named? I sometimes see very minute details; gathering them doesn't look like an easy task.
Google Maps data is based on many sources, depending on both the type of data, and the area you're looking at.
Vector (Road, Park, etc. data)
Vector data, like roads, points of interest, etc. are bought from many different companies. Tele Atlas is one of their worldwide data providers, and is a key component, especially outside densely populated urban areas.
In some areas, this data is combined with other vector data providers, like Sanborn, who do 3D building outlines, as well as combining with more local sources of data, such as organizations which collect POI data (restaurants, etc.).
In countries other than the US, data is often purchased from a National Mapping Agency; a government agency tasked with collecting and distributing map data.
In some cases, data -- especially for populating searches -- is gathered via the web, and geocoded (looked up by address) to be placed on the map.
This data is commercial; the collection aspects are expensive, and Google pays a significant amount of money to license the data for this usage. (The actual amount is not public knowledge.)
Imagery
Imagery data for Google is similarly collected via many sources. Imagery up to .5M/px (Letting you see cars clearly, but not people) is typically collected via satellites flown by Digital Globe or Geoeye. (Geoeye actually flies a satellite, "Geoeye1", which was funded by Google in large part.)
In addition, Google adds in many different public datasources, from government organizations and programs (USGS, NAIP), state and local organizations, and more. In addition, for high profile events Google will sometimes specifically pay a company to do an overflight -- this was the case for the Haiti earthquake, and is common for them to do during the Burning Man festival.
Street View
Streetview data is collected by vehicles paid by Google to drive around with special tools (LIDAR detectors + 8-way videocameras) and collect the data.
Overall, in each case, you can look at the various sources for data -- at least those that require crediting, which is not all of them -- in the lower right hand corner of any Google Map.
They buy their data from other companies to form the maps. I beleive they purchased the majority of it from Tele Atlas. http://code.google.com/apis/maps/signup.html
Here is a lot of information on the history of it:
http://en.wikipedia.org/wiki/Google_Maps#Map_projection